[17134] in Kerberos-V5-bugs
[krbdev.mit.edu #9219] git commit
daemon@ATHENA.MIT.EDU (Greg Hudson via RT)
Mon Aug 31 22:48:17 2026
From: "Greg Hudson via RT" <rt@krbdev.mit.edu>
In-Reply-To:
Message-ID: <rt-4.4.3-2-2622213-1788230892-1710.9219-5-0@mit.edu>
To: "AdminCc of krbdev.mit.edu Ticket #9219":;
Date: Mon, 31 Aug 2026 22:48:12 -0400
MIME-Version: 1.0
Reply-To: rt@krbdev.mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krb5-bugs-bounces@mit.edu
<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@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@gmail.com>
Committer: Greg Hudson <ghudson@mit.edu>
Commit: 09ede2e5ca56695d3e4a9ef4b9e48208d47574c7
Branch: krb5-1.22
src/lib/krb5/krb/rd_cred.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
_______________________________________________
krb5-bugs mailing list
krb5-bugs@mit.edu
https://mailman.mit.edu/mailman/listinfo/krb5-bugs