Fix memory handling bug in mk_req_ext
authorGreg Hudson <ghudson@mit.edu>
Thu, 5 Feb 2009 21:27:54 +0000 (21:27 +0000)
committerGreg Hudson <ghudson@mit.edu>
Thu, 5 Feb 2009 21:27:54 +0000 (21:27 +0000)
commit29e1221373f5547c8a46f1e809e94b96bbca69d6
tree3cc9e163894296af94e3b9772b2954fea4e9fb50
parent3442622bf0e205fa829520868909a8b8d0771e9f
Fix memory handling bug in mk_req_ext

In make_etype_list, assign *authdata before we have a chance to fail,
since we may have invalidated the previous value with realloc.

ticket: 6372
tags: pullup
target_version: 1.7

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21901 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/krb/mk_req_ext.c