Patch from Riverbed (Derrick Pallas) under the license of the files they are in:
authorLove Hörnquist Åstrand <lha@kth.se>
Wed, 25 Mar 2009 15:37:21 +0000 (15:37 +0000)
committerLove Hörnquist Åstrand <lha@kth.se>
Wed, 25 Mar 2009 15:37:21 +0000 (15:37 +0000)
commit5e4d827e6153a833918bb2670aed9708ea3b51a5
treed1dbd2bd050a19c98fccae216a6ae7f164958fdc
parent0d22dfad5f391e51381a32033f6dfca7b8c37e52
Patch from Riverbed (Derrick Pallas) under the license of the files they are in:

Fix resource leak in heimdal/krb5/fcache/fcc_remove_cred
In fcache, fcc_remove_cred generates a ccache called
"newfile," which is not cleaned up if the final call
(krb5_cc_move) fails.

Free of uninitialized value in fcache/fcc_move(...)
If init_fcc fails to acquire a file handle, sp will be
uninitialized. If this is the case, the call to
krb5_storage_free will dereference this uninitialized value,
which causes undefined behaviour.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24944 ec53bebd-3082-4978-b11e-865c3cabbd6b
lib/krb5/fcache.c