[krbdev.mit.edu #8337] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Thu Jan 7 12:58:38 EST 2016


Check internal context on init context errors

If the mechanism deletes the internal context handle on error, the
mechglue must do the same with the union context, to avoid crashes if
the application calls other functions with this invalid union context.

[ghudson at mit.edu: edit commit message and code comment]

https://github.com/krb5/krb5/commit/3beb564cea3d219efcf71682b6576cad548c2d23
Author: Simo Sorce <simo at redhat.com>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: 3beb564cea3d219efcf71682b6576cad548c2d23
Branch: master
 src/lib/gssapi/mechglue/g_init_sec_context.c |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)



More information about the krb5-bugs mailing list