]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix error handling in gssint_mechglue_init() 1023/head
authorGreg Hudson <ghudson@mit.edu>
Sat, 11 Jan 2020 04:47:34 +0000 (23:47 -0500)
committerGreg Hudson <ghudson@mit.edu>
Tue, 14 Jan 2020 16:38:26 +0000 (11:38 -0500)
commitc120ed5b211ee684b830a6722fc3ab3222afbfa1
tree992af1b383786a7a0096acf4f94b23ad27993ae4
parent8c4bbfa21fe539fc8644e77814bf05ad00574750
Fix error handling in gssint_mechglue_init()

In the unlikely event that one of the functions called by
gssint_mechglue_init() returns an error, return that error to the
caller rather than continuing on and discarding the error status.
Returning success when some of the operations failed could fool the
library finalizer into thinking that initialization completed.
Reported by Spencer Malone.

ticket: 8864 (new)
tags: pullup
target_version: 1.18
target_version: 1.17-next
src/lib/gssapi/mechglue/g_initialize.c