[17127] in Kerberos-V5-bugs
[krbdev.mit.edu #9211] git commit
daemon@ATHENA.MIT.EDU (Greg Hudson via RT)
Mon Aug 31 22:47:37 2026
From: "Greg Hudson via RT" <rt@krbdev.mit.edu>
In-Reply-To:
Message-ID: <rt-4.4.3-2-2621383-1788230851-183.9211-5-0@mit.edu>
To: "AdminCc of krbdev.mit.edu Ticket #9211":;
Date: Mon, 31 Aug 2026 22:47:31 -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=9211 >
Avoid null dereference in krb5_rd_cred()
A malformed KRB-CRED message may have fewer entries in the encrypted
ticket-info list than it has in the tickets list. In each loop
iteration, check if we unexpectedly reached the end of the ticket-info
list to avoid a null dereference.
[ghudson@mit.edu: added comment; rewrote commit message]
(cherry picked from commit 48afa9abb89ab2176bb20624d87d010b9984fc08)
https://github.com/krb5/krb5/commit/62196e2b269159a5465f5b8d0ed7cf6f29c3282a
Author: TristanInSec <tristan.mtn@gmail.com>
Committer: Greg Hudson <ghudson@mit.edu>
Commit: 62196e2b269159a5465f5b8d0ed7cf6f29c3282a
Branch: krb5-1.22
src/lib/krb5/krb/rd_cred.c | 5 +++++
1 file changed, 5 insertions(+)
_______________________________________________
krb5-bugs mailing list
krb5-bugs@mit.edu
https://mailman.mit.edu/mailman/listinfo/krb5-bugs