[krbdev.mit.edu #7329] SVN Commit

Tom Yu via RT rt at krbdev.mit.edu
Wed Aug 29 19:17:31 EDT 2012



Avoid a crash when attempting to change password

In some cases we could keep stack garbage in a local pointer
variable until the cleanup at the end of the function wherein
krb5_free_context() would choke on the invalid non-NULL value.
Initialize to zero to avoid the issue (should be written as NULL
but stick to the prevailing style).

(cherry picked from commit 023aac4a5d682ffeacc5121deaa771e08a5c9013)

https://github.com/krb5/krb5/commit/4499a906d603b834820f2343c40539d6a8ad26c3
Author: Benjamin Kaduk <kaduk at mit.edu>
Committer: Tom Yu <tlyu at mit.edu>
Commit: 4499a906d603b834820f2343c40539d6a8ad26c3
Branch: krb5-1.10
 src/windows/leash/LeashView.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


More information about the kfwdev mailing list