[krbdev.mit.edu #9280] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Mon Nov 2 22:43:47 EST 2026


Mon Nov 02 22:43:47 2026: Request 9280 was acted upon.
 Transaction: Ticket created by ghudson at mit.edu
       Queue: krb5
     Subject: git commit
       Owner: ghudson at mit.edu
  Requestors: 
      Status: new
 Ticket <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 at mit.edu: rewrote comment and commit message]

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



More information about the krb5-bugs mailing list