[krbdev.mit.edu #9219] git commit
Greg Hudson via RT
rt at krbdev.mit.edu
Mon Aug 31 22:48:12 EDT 2026
<URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9219 >
Avoid another null dereference in krb5_rd_cred()
In RFC 4120, the ticket client and server principal names are optional
in KrbCredInfo, but we have always required them to be present. Add
checks to prevent null dereferences in krb5_rd_cred() if either name
is not specified.
[ghudson at mit.edu: folded check in with the end-of-list check; rewrote
comment and commit message]
(cherry picked from commit 5031b854ad8ba6cce20cdd8c991f81dbc3f924bd)
https://github.com/krb5/krb5/commit/09ede2e5ca56695d3e4a9ef4b9e48208d47574c7
Author: Rahul Hoysala <rahulhoysala07 at gmail.com>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: 09ede2e5ca56695d3e4a9ef4b9e48208d47574c7
Branch: krb5-1.22
src/lib/krb5/krb/rd_cred.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
More information about the krb5-bugs
mailing list