]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix pkinit_server_verify_padata() error handling 1436/head
authorAnastasia Belova <nabelova31@gmail.com>
Mon, 2 Jun 2025 09:28:49 +0000 (12:28 +0300)
committerGreg Hudson <ghudson@mit.edu>
Tue, 17 Jun 2025 22:10:22 +0000 (18:10 -0400)
commit1113e746abd0c30b4522c75a99426185e6ab8772
treefd248fe0c516af577e9c581a36ed25b7dc298dbc
parent42230206191ea89d3873a61f1122069fdff92fcc
Fix pkinit_server_verify_padata() error handling

Avoid a null deference if pkinit_init_kdc_req_context() fails to
allocate reqctx.

[ghudson@mit.edu: fixed cleanup handler to work with reqctx == NULL
instead of avoiding the cleanup handler on allocation failure]
src/plugins/preauth/pkinit/pkinit_srv.c