[krbdev.mit.edu #9250] git commit

Greg Hudson via RT rt at krbdev.mit.edu
Tue Nov 3 19:17:35 EST 2026


<URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9250 >


Fix two KDB data validation issues

In the LMDB KDB module, fix a bug in klmdb_decode_princ() that
renders the key_data_ver validity check inoperable.

In the DB2 KDB module, bounds-check entry->e_length against the
remaining record data, and decrease sizeleft when we increase nextloc.

[ghudson at mit.edu: combined two commits and rewrote commit message]

(cherry picked from commit 48adb434dfd4807fc84187e46bf09ef4ee42377c)

https://github.com/krb5/krb5/commit/2011b3e1262b92b47445cb5b4a07548a769bc31c
Author: Bogdan Boguslavskij <bogdanb at altlinux.org>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: 2011b3e1262b92b47445cb5b4a07548a769bc31c
Branch: krb5-1.22
 src/plugins/kdb/db2/kdb_xdr.c  | 5 +++++
 src/plugins/kdb/lmdb/marshal.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)



More information about the krb5-bugs mailing list