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/ac6ee6338cbf93a1b2bda3c4ebfeab0df56128fe Author: Simo Sorce Committer: Tom Yu Commit: ac6ee6338cbf93a1b2bda3c4ebfeab0df56128fe Branch: krb5-1.13 src/lib/gssapi/mechglue/g_init_sec_context.c | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-)