]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix leak in KDC NDR encoding
authorGreg Hudson <ghudson@mit.edu>
Tue, 5 Mar 2024 22:38:49 +0000 (17:38 -0500)
committerGreg Hudson <ghudson@mit.edu>
Tue, 19 Mar 2024 01:32:27 +0000 (21:32 -0400)
commit7d0d85bf99caf60c0afd4dcf91b0c4c683b983fe
treee25b8e0ddbc6a3c5dc106507d8859222606071bb
parent98afb314d13939cbee19c69885dcb655db8460da
Fix leak in KDC NDR encoding

If the KDC tries to encode a principal containing encode invalid UTF-8
sequences for inclusion in a PAC delegation info buffer, it will leak
a small amount of memory in enc_wchar_pointer() before failing.  Fix
the leak.

ticket: 9115 (new)
tags: pullup
target_version: 1.21-next
src/kdc/ndr.c