Adjust the logic in rule_an_to_ln to avoid a "can't happen" case of
authorGreg Hudson <ghudson@mit.edu>
Fri, 3 Apr 2009 18:14:40 +0000 (18:14 +0000)
committerGreg Hudson <ghudson@mit.edu>
Fri, 3 Apr 2009 18:14:40 +0000 (18:14 +0000)
commit65e068c918ebdac4b01e25531fa87eff50afbdd0
tree58621c14af1b99a07b3140f478c5af9f9cd53acf
parentf4dda42648602b6641c0c2cab99e29baf6400c88
Adjust the logic in rule_an_to_ln to avoid a "can't happen" case of
strchr returning null when searching for a character we know is there.
Also properly return ENOMEM if we fail to allocate selstring.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22169 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/os/an_to_ln.c