[krbdev.mit.edu #9244] git commit

Greg Hudson via RT rt at krbdev.mit.edu
Mon Nov 9 12:02:32 EST 2026


<URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9244 >


Use safe string copies in MSLSA ccache type

In UnicodeStringToMITPrinc(), KerbExternalNameToMITPrinc(), and
MSCredToMITCred(), use safe variants of wide-character string copy and
concatenation functions, to prevent buffer overflows if the LSA cache
contains unexpectedly long principal name components.

(cherry picked from commit 151be7373b97ae78d471e016f8da89e7e2cf4548)

https://github.com/krb5/krb5/commit/7b3a8cb928edf9fe44dd8c2fc4f95f3cd5ccb3cb
Author: Greg Hudson <ghudson at mit.edu>
Commit: 7b3a8cb928edf9fe44dd8c2fc4f95f3cd5ccb3cb
Branch: krb5-1.22
 src/lib/krb5/ccache/cc_mslsa.c | 53 +++++++++++++++++++++++++-----------------
 1 file changed, 32 insertions(+), 21 deletions(-)



More information about the krb5-bugs mailing list