[krbdev.mit.edu #9232] git commit
Greg Hudson via RT
rt at krbdev.mit.edu
Fri Sep 4 20:00:07 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.
(cherry picked from commit 6a880f5a629ccdfe9e5ecefc46b2186ba69bcc6d)
https://github.com/krb5/krb5/commit/5dbd6ba425eecf76396d2f78b79738983b255c20
Author: Greg Hudson <ghudson at mit.edu>
Commit: 5dbd6ba425eecf76396d2f78b79738983b255c20
Branch: krb5-1.22
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