[krbdev.mit.edu #7908] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Thu May 8 11:14:48 EDT 2014


Fix unlikely memory error in krb5_rd_cred

If an error occurs in the for loop in krb5_rd_cred_basic (which should
only happen on an ENOMEM), do not leave the caller with a dangling
reference to the freed credential array.

https://github.com/krb5/krb5/commit/60234f7b4cef58b66e0b2776988dfcf79c0d8bbb
Author: Neng Xue <xnsuda at yahoo.com>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: 60234f7b4cef58b66e0b2776988dfcf79c0d8bbb
Branch: master
 src/lib/krb5/krb/rd_cred.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)



More information about the krb5-bugs mailing list