]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix preauth crash on memory exhaustion 1274/head
authorChenChen Zhou <357726167@qq.com>
Sun, 27 Nov 2022 14:24:24 +0000 (22:24 +0800)
committerGreg Hudson <ghudson@mit.edu>
Mon, 5 Dec 2022 18:35:40 +0000 (13:35 -0500)
commit7736144eb613f797dea57a44da33007a19602e5e
treecec67db2e1f9073c52f8ff96cb5b6021be5e46d6
parent2929ec400c174bc848a9c438a61b0e3506b91d0e
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]

ticket: 9079 (new)
src/lib/krb5/krb/preauth2.c