[krbdev.mit.edu #9233] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Mon Nov 9 11:57:02 EST 2026


Mon Nov 09 11:57:02 2026: Request 9233 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=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.

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



More information about the krb5-bugs mailing list