]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix loop to determine MSLSA principal name
authorBen Kaduk <kaduk@mit.edu>
Fri, 6 Mar 2015 20:42:10 +0000 (15:42 -0500)
committerTom Yu <tlyu@mit.edu>
Wed, 13 May 2015 20:51:32 +0000 (16:51 -0400)
commit5761b5f169933fab63a4ec6ba2eecef88d84fd34
tree8e8fad682bebe9c2ce6bd9d413cb60e95885f45e
parent94c9678dfb87d68a3d6ca25def5e6b415a7d0553
Fix loop to determine MSLSA principal name

When looping over principals, check the i-th entry instead of
looking at the 0-th entry each time through the loop.  This would
only affect cases when multiple ticket entries were returned from
the LSA, the first one did not have a valid principal name, but
some other one did.  It is expected that all of the returned
ticket entries will always have a valid client principal name, so
this is unlikely to cause any functional difference.

(cherry picked from commit d7dc6c347e352324e374b3456f60e49aa4b8ba08)

ticket: 8177
version_fixed: 1.13.3
status: resolved
src/lib/krb5/ccache/cc_mslsa.c