[krbdev.mit.edu #9233] git commit

Greg Hudson via RT rt at krbdev.mit.edu
Mon Nov 9 12:00:54 EST 2026


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


Prevent buffer overrun in old leashdll functions

Leash_kinit_dlg() and Leash_changepwd_dlg() use a dialog callback
function PasswordProc().  If the caller supplies a principal name
longer than 254 bytes via lpdlginfo->principal, PasswordProc() writes
beyond the bounds of a stack-allocated array.  Reported by Rahul
Hoysala.

These functions are both deprecated in favor of _ex variants (which
use a different dialog callback) and are not used by Leash.

(cherry picked from commit 3e5cb96070fbd83f09098a14e220efc85056c572)

https://github.com/krb5/krb5/commit/6bb3da80cb227fc3e75ca1c13867c4bf46115397
Author: Greg Hudson <ghudson at mit.edu>
Commit: 6bb3da80cb227fc3e75ca1c13867c4bf46115397
Branch: krb5-1.22
 src/windows/leashdll/lsh_pwd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



More information about the krb5-bugs mailing list