array before test for pointing at entry with the principal. Avoids
authorEzra Peisach <epeisach@mit.edu>
Wed, 4 Oct 2006 18:40:53 +0000 (18:40 +0000)
committerEzra Peisach <epeisach@mit.edu>
Wed, 4 Oct 2006 18:40:53 +0000 (18:40 +0000)
commit393281d4cc8706b94637cfb2ed8b3e90a067e3a5
tree7b53aaf2552ca325b1f0ccce7a6b949f51c9739c
parent9175e66cdb298c4197a30d38ad1ace63a976c6ec
array before test for pointing at entry with the principal. Avoids
buffer overflow for end of list.

Detected with a hacked up version of valgrind to handle keyring syscalls.

krb5_krcc_next_cred: Move initial test if pointing past end of key

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18643 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/ccache/cc_keyring.c