[krbdev.mit.edu #9079] git commit

"Greg Hudson via RT" <[email protected]> Mon, 05 Dec 2022 16:42:09 -0500
Newsgroups gmane.comp.encryption.kerberos.bugs
Message-ID <[email protected]>
Mon Dec 05 16:42:09 2022: Request 9079 was acted upon.
 Transaction: Ticket created by [email protected]
       Queue: krb5
     Subject: git commit
       Owner: [email protected]
  Requestors: 
      Status: new
 Ticket <URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9079 >



Fix preauth crash on memory exhaustion

In k5_preauth_request_context_init(), check the result of calloc().

[[email protected]: rewrote commit message; added free() of reqctx on error]

https://github.com/krb5/krb5/commit/7736144eb613f797dea57a44da33007a19602e5e
Author: ChenChen Zhou <[email protected]>
Committer: Greg Hudson <[email protected]>
Commit: 7736144eb613f797dea57a44da33007a19602e5e
Branch: master
 src/lib/krb5/krb/preauth2.c | 4 ++++
 1 file changed, 4 insertions(+)