Skip Menu |
 

From: ghudson@mit.edu
Subject: git commit

Fix preauth crash on memory exhaustion

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

[ghudson@mit.edu: rewrote commit message; added free() of reqctx on error]

https://github.com/krb5/krb5/commit/7736144eb613f797dea57a44da33007a19602e5e
Author: ChenChen Zhou <357726167@qq.com>
Committer: Greg Hudson <ghudson@mit.edu>
Commit: 7736144eb613f797dea57a44da33007a19602e5e
Branch: master
src/lib/krb5/krb/preauth2.c | 4 ++++
1 file changed, 4 insertions(+)