krb5_build_principal_ext walks off beginning of array
authorAlexandra Ellwood <lxs@mit.edu>
Fri, 24 Oct 2008 20:54:12 +0000 (20:54 +0000)
committerAlexandra Ellwood <lxs@mit.edu>
Fri, 24 Oct 2008 20:54:12 +0000 (20:54 +0000)
commit105843a4d3123d2ce0a668e4512efc974720f2d3
tree713e51703a375c2da880a1dceb7667e7b4f35038
parentfcf15c482b582c4f2e5dd7c6222c4e3509bbb7d6
krb5_build_principal_ext walks off beginning of array

On error, krb5_build_principal_ext walks off the beginning of the
array by using i-- in a conditional when it should be using --i
(so that it actually compares the value of i that will be used
below).

ticket: new

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