[krbdev.mit.edu #9115] git commit

"Greg Hudson via RT" <[email protected]> Mon, 24 Jun 2024 19:51:22 -0400
Newsgroups gmane.comp.encryption.kerberos.bugs
Message-ID <[email protected]>
<URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9115 >


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.

(cherry picked from commit 7d0d85bf99caf60c0afd4dcf91b0c4c683b983fe)

https://github.com/krb5/krb5/commit/0c2de238b5bf1ea4578e3933a604c7850905b8be
Author: Greg Hudson <[email protected]>
Commit: 0c2de238b5bf1ea4578e3933a604c7850905b8be
Branch: krb5-1.21
 src/kdc/ndr.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)