[krbdev.mit.edu #9261] git commit

Greg Hudson via RT rt at krbdev.mit.edu
Mon Nov 9 12:01:39 EST 2026


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


Fix leak on error in xdr_krb5_keyblock()

In xdr_krb5_keyblock(), if xdr_bytes() fails, still assign cp back to
objp->contents to avoid leaking a potential allocation.

(cherry picked from commit 893576ef054c7f136b1601cdea7d47ce18442ae0)

https://github.com/krb5/krb5/commit/10192728aab5f5743df5fb0a71fa86165dc5d6a8
Author: Greg Hudson <ghudson at mit.edu>
Commit: 10192728aab5f5743df5fb0a71fa86165dc5d6a8
Branch: krb5-1.22
 src/lib/kadm5/kadm_rpc_xdr.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)



More information about the krb5-bugs mailing list