]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix ksetpwd password reading loop 397/head
authorGreg Hudson <ghudson@mit.edu>
Thu, 14 Jan 2016 23:03:40 +0000 (18:03 -0500)
committerGreg Hudson <ghudson@mit.edu>
Fri, 15 Jan 2016 18:10:52 +0000 (13:10 -0500)
commit8e212581830de2bead06d1b4d7cff8079d97e5a5
tree4a6c1ea80b4c24f7301aa1a1dd06844729084a79
parentd998b088adb875bc0a4e13c184075f91fb23336b
Fix ksetpwd password reading loop

In ksetpwd (which we do not install), fix the loop which reads the new
password twice until they match.  Previously it would stop with a
dangling pointer to freed memory in new_password if they don't match
on the first try.  Reported by Will Fiveash.
src/clients/kpasswd/ksetpwd.c