pull up r24102 from trunk
authorTom Yu <tlyu@mit.edu>
Fri, 28 May 2010 18:41:45 +0000 (18:41 +0000)
committerTom Yu <tlyu@mit.edu>
Fri, 28 May 2010 18:41:45 +0000 (18:41 +0000)
commitf655fbc0dcc49e1413ec3a805b40b162070f8f75
treecd3144b45d568143d666796ff5f566a5f9cc0f8b
parentc13d86159a6faa0b9447a544a1d15796dab9722e
pull up r24102 from trunk

 ------------------------------------------------------------------------
 r24102 | ghudson | 2010-05-24 22:44:45 -0400 (Mon, 24 May 2010) | 11 lines

 ticket: 6734
 subject: FAST negotiation could erroneously succeed
 target_version: 1.8.2
 tags: pullup

 When FAST negotiation is performed against an older KDC
 (rep->enc_part2->flags & TKT_FLG_ENC_PA_REP not set),
 krb5int_fast_verify_nego did not set the value of *fast_avail, causing
 stack garbage to be used in init_creds_step_reply.  Initialize
 *fast_avail at the beginning of the function per coding practices.

ticket: 6734
version_fixed: 1.8.2
status: resolved

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