[krbdev.mit.edu #8337] git commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Thu Jan 7 16:28:13 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/8917552b578608f99d3c38b58fdddeb78ab4bbb8
Author: Simo Sorce <simo at redhat.com>
Committer: Tom Yu <tlyu at mit.edu>
Commit: 8917552b578608f99d3c38b58fdddeb78ab4bbb8
Branch: krb5-1.14
 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