Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) From: tlyu@mit.edu Subject: git commit RT-Send-CC: X-RT-Original-Encoding: iso-8859-1 Content-Length: 713 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@mit.edu: edit commit message and code comment] (cherry picked from commit 3beb564cea3d219efcf71682b6576cad548c2d23) https://github.com/krb5/krb5/commit/8917552b578608f99d3c38b58fdddeb78ab4bbb8 Author: Simo Sorce Committer: Tom Yu Commit: 8917552b578608f99d3c38b58fdddeb78ab4bbb8 Branch: krb5-1.14 src/lib/gssapi/mechglue/g_init_sec_context.c | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-)