[krbdev.mit.edu #9232] git commit
Greg Hudson via RT
rt at krbdev.mit.edu
Fri Sep 4 19:31:42 EDT 2026
<URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9232 >
Prevent dangling result in tl_data2berval()
If the second malloc() fails in tl_data2berval(), do not leave a
dangling freed pointer in *out, or the caller will free it a second
time. Reported by Vidal Segura García.
https://github.com/krb5/krb5/commit/6a880f5a629ccdfe9e5ecefc46b2186ba69bcc6d
Author: Greg Hudson <ghudson at mit.edu>
Commit: 6a880f5a629ccdfe9e5ecefc46b2186ba69bcc6d
Branch: master
src/plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c | 22 +++++++++++++---------
1 file changed, 13 insertions(+), 9 deletions(-)
More information about the krb5-bugs
mailing list