]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix potential memory leak in recent commit 1268/head
authorGreg Hudson <ghudson@mit.edu>
Sun, 26 Mar 2023 05:32:57 +0000 (01:32 -0400)
committerGreg Hudson <ghudson@mit.edu>
Sun, 26 Mar 2023 05:32:57 +0000 (01:32 -0400)
commit654f257b8843e3d85e368d8816511d99a8bab987
treeff3d807c14474d8ee148450d872db73741f6c442
parentbb11cc25e43a0bb39eb4d4b6b39c89e4d662342a
Fix potential memory leak in recent commit

In get_negTokenInit(), reject a zero-length mechTypes field before
copying it into *der_mechSet, to prevent allocating a zero-length GSS
buffer.
src/lib/gssapi/spnego/spnego_mech.c