[krbdev.mit.edu #9264] git commit
Greg Hudson via RT
rt at krbdev.mit.edu
Mon Nov 9 12:01:35 EST 2026
<URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9264 >
Fix memory leak in auth_gssapi_wrap_data()
In auth_gssapi_wrap_data(), use a cleanup handler to ensure that
out_buf is freed along all exit paths.
[ghudson at mit.edu: added initializer for out_buf; made out_buf cleanup
unconditional; minor style edits; rewrote commit message]
(cherry picked from commit 2fd1fdd559f6c9d04127d6fdfc67154baa75317e)
https://github.com/krb5/krb5/commit/945964b2399416f424bd9ba255f6c12b9511d832
Author: Julien Rische <jrische at redhat.com>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: 945964b2399416f424bd9ba255f6c12b9511d832
Branch: krb5-1.22
src/lib/rpc/auth_gssapi_misc.c | 26 ++++++++++++--------------
1 file changed, 12 insertions(+), 14 deletions(-)
More information about the krb5-bugs
mailing list