]> git.ipfire.org Git - thirdparty/krb5.git/commit
Check public_oid in gss_export_cred() 828/head
authorGreg Hudson <ghudson@mit.edu>
Fri, 10 Aug 2018 15:58:11 +0000 (11:58 -0400)
committerGreg Hudson <ghudson@mit.edu>
Mon, 13 Aug 2018 21:18:06 +0000 (17:18 -0400)
commit93de356ec21857dc9e7070ee62997fa8ec3f82c3
tree8615aeb9ae1b2594144efacbd9e08a39ef40a49a
parentab91899708731c1fb8fb880d5a6b300048478f66
Check public_oid in gss_export_cred()

In gss_export_cred(), check the gssint_get_public_oid() result as well
as the gssint_get_mechanism() result.  There are probably no cases
where the former returns NULL and the latter does not, but it is easy
to be more obviously correct.  Reported by Bean Zhang.
src/lib/gssapi/mechglue/g_export_cred.c