Apply Apple patch to null out key->contents after freeing on failure,
authorGreg Hudson <ghudson@mit.edu>
Mon, 3 Nov 2008 21:05:25 +0000 (21:05 +0000)
committerGreg Hudson <ghudson@mit.edu>
Mon, 3 Nov 2008 21:05:25 +0000 (21:05 +0000)
commit65317bca348ba8f6e19f008c06dcf4eb4e65e8a1
treebafa804c90911966a8c9503b7c89b86cc9d4ad93
parent361f491af705254ca778dc290e24d72cd2add4fd
Apply Apple patch to null out key->contents after freeing on failure,
eliminating the possibility that the pointer will be used after free.

ticket: 6247

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20961 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/crypto/string_to_key.c