[krbdev.mit.edu #8337] git commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Fri Jan 8 17:16:18 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]

(cherry picked from commit 3beb564cea3d219efcf71682b6576cad548c2d23)

https://github.com/krb5/krb5/commit/ac6ee6338cbf93a1b2bda3c4ebfeab0df56128fe
Author: Simo Sorce <simo at redhat.com>
Committer: Tom Yu <tlyu at mit.edu>
Commit: ac6ee6338cbf93a1b2bda3c4ebfeab0df56128fe
Branch: krb5-1.13
 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