[krbdev.mit.edu #9271] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Thu Oct 29 18:25:31 EDT 2026


Thu Oct 29 18:25:31 2026: Request 9271 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=9271 >



Fix leaks on error in PKINIT signed-data creation

In cms_signeddata_create(), free more allocated variables in the
cleanup label to prevent them from leaking on error paths.  Also check
the result of X509_STORE_CTX_get1_chain() before using it, to prevent
a null dereference on allocation failure.  Reported by Brian Knoll.

https://github.com/krb5/krb5/commit/f01d35b8df208e6b338b82269c1f82829e083220
Author: Greg Hudson <ghudson at mit.edu>
Commit: f01d35b8df208e6b338b82269c1f82829e083220
Branch: master
 src/plugins/preauth/pkinit/pkinit_crypto_openssl.c | 19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)



More information about the krb5-bugs mailing list