[krbdev.mit.edu #8864] git commit

Greg Hudson via RT rt at KRBDEV-PROD-APP-1.mit.edu
Mon Jan 27 11:05:10 EST 2020


<URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=8864 >


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.

(cherry picked from commit c120ed5b211ee684b830a6722fc3ab3222afbfa1)

https://github.com/krb5/krb5/commit/ce27f162853ea07496df8c7b9264116256325565
Author: Greg Hudson <ghudson at mit.edu>
Commit: ce27f162853ea07496df8c7b9264116256325565
Branch: krb5-1.18
 src/lib/gssapi/mechglue/g_initialize.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)



More information about the krb5-bugs mailing list