don't confuse profile iterator in 425 princ conversion
authorKen Raeburn <raeburn@mit.edu>
Sat, 28 Oct 2006 03:06:30 +0000 (03:06 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sat, 28 Oct 2006 03:06:30 +0000 (03:06 +0000)
commit63cec6a81382e50e5e3e57f8e34bc3b95cdccb57
tree5aaa0d0055d7a2037b36685d0a3faef4f3e8409f
parenteb99ac4ae7082472fbf7f125da9cad6e52fab090
don't confuse profile iterator in 425 princ conversion

The profile iterator code hangs onto and uses the list of names passed
in.  The krb5_425_conv_principal code reuses that array when the
iterator may still be used.

* conv_princ.c (krb5_425_conv_principal): Use separate name arrays for
the iterator and the v4_realm lookup that may be done inside the
iteration loop.

ticket: new
target_version: 1.6
tags: pullup

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