[17172] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

[krbdev.mit.edu #9280] git commit

daemon@ATHENA.MIT.EDU (Greg Hudson via RT)
Tue Nov 3 19:18:44 2026

From: "Greg Hudson via RT" <rt@krbdev.mit.edu>
In-Reply-To: 
Message-ID: <rt-4.4.3-2-2373193-1793751518-618.9280-5-0@mit.edu>
To: "AdminCc of krbdev.mit.edu Ticket #9280":;
Date: Tue, 03 Nov 2026 19:18:38 -0500
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=9280 >


Detect iprop update of nonexistent principal

If the update log metadata falls out of sync with the database, a
non-creation update entry could be applied to a nonexistent principal.
This scenario currently results in a process abort with the DB2
database module when krb5_encode_princ_entry() is invoked with
entry->len set to zero.  Detect this mismatch in ulog_conv_2dbentry()
and return an error to force a full resync.

[ghudson@mit.edu: rewrote comment and commit message]

(cherry picked from commit 3d5c8db948c2f4f67cc8b85eb94ad8a423c045f4)

https://github.com/krb5/krb5/commit/9f9ecf6933191a22b68b7041986611ac0f318f41
Author: Zoltan Borbely <Zoltan.Borbely@morganstanley.com>
Committer: Greg Hudson <ghudson@mit.edu>
Commit: 9f9ecf6933191a22b68b7041986611ac0f318f41
Branch: krb5-1.22
 src/lib/kdb/kdb_convert.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

_______________________________________________
krb5-bugs mailing list
krb5-bugs@mit.edu
https://mailman.mit.edu/mailman/listinfo/krb5-bugs

home help back first fref pref prev next nref lref last post