pull up r18815 from trunk
authorTom Yu <tlyu@mit.edu>
Thu, 16 Nov 2006 21:18:45 +0000 (21:18 +0000)
committerTom Yu <tlyu@mit.edu>
Thu, 16 Nov 2006 21:18:45 +0000 (21:18 +0000)
commitebdc8cbc2d729bfb0a9b1223a8f25086252f8b2e
tree76a4a97da42ab5f5ada6dbcc60909a76c9972ee1
parente4c56018f1381fdfd5261e33cd33eab109e6d875
pull up r18815 from trunk

 r18815@cathode-dark-space:  raeburn | 2006-11-15 20:14:14 -0500
 ticket: new
 subject: avoid double frees in ccache manipulation around gen_new
 target_version: 1.6
 tags: pullup

 * krb5/krb/vfy_increds.c (krb5_verify_init_creds): If krb5_cc_gen_new fails,
 don't both close and destroy the template ccache.
 * gssapi/krb5/accept_sec_context.c (rd_and_store_for_creds): Likewise.

ticket: 4774
version_fixed: 1.6

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-6@18825 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/gssapi/krb5/accept_sec_context.c
src/lib/krb5/krb/vfy_increds.c