[krbdev.mit.edu #9243] git commit

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


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


Fix gssalloc mismatches

Correct several mismatches where free() could be used on pointers
allocated with gssalloc_malloc() or vice versa.  These mismatches are
generally harmless, but could cause heap corruption with older
versions of Visual Studio.  Discovered by Aisle Research.

(cherry picked from commit e62bf3208f0ca622f63ecf01b186ebeafbe6eee5)

https://github.com/krb5/krb5/commit/e7af9478d38150d11d127f1f9c0e02aab2217041
Author: Greg Hudson <ghudson at mit.edu>
Commit: e7af9478d38150d11d127f1f9c0e02aab2217041
Branch: krb5-1.22
 src/lib/gssapi/mechglue/g_dsp_name_ext.c | 2 +-
 src/lib/gssapi/mechglue/g_dup_name.c     | 6 +++---
 src/lib/gssapi/mechglue/g_imp_name.c     | 3 +--
 3 files changed, 5 insertions(+), 6 deletions(-)



More information about the krb5-bugs mailing list