[krbdev.mit.edu #7760] git commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Fri Nov 8 14:15:05 EST 2013


Fix use-before-init in two test programs

If krb5_init_context fails, use a null context for getting the error
message, not a context we haven't yet initialized.  Observed by David
Benjamin <davidben at mit.edu> using clang.

(cherry picked from commit 525eafc83a0fbe8f215b7749b5774d54468a19d1)

https://github.com/krb5/krb5/commit/07704a74aca13a05d4959dc1c0d1b85889dbd7bf
Author: Greg Hudson <ghudson at mit.edu>
Committer: Tom Yu <tlyu at mit.edu>
Commit: 07704a74aca13a05d4959dc1c0d1b85889dbd7bf
Branch: krb5-1.11
 src/lib/krb5/krb/t_cc_config.c |    2 +-
 src/lib/krb5/krb/t_in_ccache.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)



More information about the krb5-bugs mailing list