[krbdev.mit.edu #9261] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Mon Nov 9 11:58:15 EST 2026


Mon Nov 09 11:58:15 2026: Request 9261 was acted upon.
 Transaction: Ticket created by ghudson at mit.edu
       Queue: krb5
     Subject: git commit
       Owner: ghudson at mit.edu
  Requestors: 
      Status: new
 Ticket <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.

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



More information about the krb5-bugs mailing list