]> git.ipfire.org Git - thirdparty/krb5.git/commit
Check internal context on init context errors
authorSimo Sorce <simo@redhat.com>
Tue, 5 Jan 2016 17:11:59 +0000 (12:11 -0500)
committerGreg Hudson <ghudson@mit.edu>
Thu, 7 Jan 2016 17:50:55 +0000 (12:50 -0500)
commit3beb564cea3d219efcf71682b6576cad548c2d23
tree021143ee9dace84e6330b8431a8dd88b97b391fd
parent39802ad406c294306a407ea3d1199941d8b5d773
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]

ticket: 8337 (new)
target_version: 1.14-next
target_version: 1.13-next
tags: pullup
src/lib/gssapi/mechglue/g_init_sec_context.c