[krbdev.mit.edu #9263] git commit

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


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


Fix leak on error in process_chpw_request()

In process_chpw_request(), wipe the "clear" buffer before reusing it
in the chpwfail label.

[ghudson at mit.edu: removed conditionalization on wipe operation; edited
comment; rewrote commit message]

(cherry picked from commit ed1c283551adf9eca4758efca70d3c1698f8a27c)

https://github.com/krb5/krb5/commit/ccb5c1c41a3eb24c7e3fb39066e43ae5bec0fb69
Author: Julien Rische <jrische at redhat.com>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: ccb5c1c41a3eb24c7e3fb39066e43ae5bec0fb69
Branch: krb5-1.22
 src/kadmin/server/schpw.c | 4 ++++
 1 file changed, 4 insertions(+)



More information about the krb5-bugs mailing list