fix invalid access found by valgrind
authorKevin Coffman <kwc@citi.umich.edu>
Mon, 23 Oct 2006 16:15:50 +0000 (16:15 +0000)
committerKevin Coffman <kwc@citi.umich.edu>
Mon, 23 Oct 2006 16:15:50 +0000 (16:15 +0000)
commit5fd3d2b196ce242c4ffff1b6c836aa5a248378d3
tree4a8b03c14c9b9e86f431e696fb7eb65596613d1a
parent76ffa3584871b4bd81215daaa6ccca72ab177bf6
fix invalid access found by valgrind

Valgrind found that we were reading past the end of the
preferred padata string.  p is manually updated within
the loop and there is no need for the increment.  It was
causing the null terminator to be skipped over, rather
than properly terminating the loop.

ticket: new

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