Error return from krb5int_random_string not tested in ccache code
authorEzra Peisach <epeisach@mit.edu>
Thu, 14 Aug 2008 05:09:12 +0000 (05:09 +0000)
committerEzra Peisach <epeisach@mit.edu>
Thu, 14 Aug 2008 05:09:12 +0000 (05:09 +0000)
commit98977c054ef689fbbc0b245309ee58fe0503196d
tree2c42c186e77ffa83918304671fde44bd931db19e
parent9a8dbb4c8c3d1af6168fb37b23efee1146242e8c
Error return from krb5int_random_string not tested in ccache code

krb5int_random_string should probably only fail on malloc
failure. Test for an error return from the function and cleanup
properly (release mutex, return error instead of using uninitialized
memory).

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20655 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/ccache/cc_keyring.c
src/lib/krb5/ccache/cc_memory.c