]> git.ipfire.org Git - thirdparty/krb5.git/commit
Avoid a crash when attempting to change password
authorBenjamin Kaduk <kaduk@mit.edu>
Tue, 31 Jul 2012 20:12:27 +0000 (16:12 -0400)
committerBen Kaduk <kaduk@mit.edu>
Wed, 29 Aug 2012 18:50:20 +0000 (14:50 -0400)
commit023aac4a5d682ffeacc5121deaa771e08a5c9013
tree5dadca0730177ce0efb138f4b100e852f413db9e
parent02499b9c31124d66cdc5fd5d650e38f8c408a984
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).

ticket: 7329 (new)
queue: kfw
target_version: 1.10.4
tags: pullup
src/windows/leash/LeashView.cpp