pull up r20527 from trunk
authorTom Yu <tlyu@mit.edu>
Mon, 21 Jul 2008 16:08:33 +0000 (16:08 +0000)
committerTom Yu <tlyu@mit.edu>
Mon, 21 Jul 2008 16:08:33 +0000 (16:08 +0000)
commiteb86ef0d3cf4484e42280c54a770175f71af1c80
tree83545ed34f7f8c5a961e1e58c5a5a4817eedcc75
parent483c6760e4d221c0dc9f933fa1959c54a723caab
pull up r20527 from trunk

 r20527@cathode-dark-space:  tlyu | 2008-07-15 17:43:35 -0400
 ticket: new
 subject: krb5_get_cred_via_tkt() should null out_cred on errors
 tags: pullup
 target_version: 1.6.4
 component: krb5-libs

 Helper function krb5_kdcrep2creds(), called from
 krb5_get_cred_via_tkt(), should null its output pointer after freeing
 allocated memory, to avoid returning an invalid pointer.

ticket: 6033
status: resolved
version_fixed: 1.6.4

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