]> git.ipfire.org Git - thirdparty/krb5.git/commit
Tolerate null oid pointer in gss_release_oid()
authorGreg Hudson <ghudson@mit.edu>
Wed, 10 Jun 2015 23:48:51 +0000 (19:48 -0400)
committerGreg Hudson <ghudson@mit.edu>
Thu, 11 Jun 2015 16:03:01 +0000 (12:03 -0400)
commit4676e823e6ee9a5731872b31c5588c1b5932e0a3
tree59ecddc6e2ae509dee3c095513877520437db56d
parent5c6d218e385755766ff427b3e707510f0ce175c5
Tolerate null oid pointer in gss_release_oid()

Under some circumstances, gss_inquire_name() can call
gss_release_oid() with a null oid pointer, which currently causes a
null dereference.  The least invasive fix is for gss_release_oid() to
check for the invalid null pointer and return an error, like other
GSS-API functions do.

ticket: 8201 (new)
target_version: 1.13.3
tags: pullup
src/lib/gssapi/mechglue/g_initialize.c