* g_cnffile.c (krb__get_srvtabname): Make retname be a static
authorTom Yu <tlyu@mit.edu>
Fri, 6 Jun 2003 14:44:33 +0000 (14:44 +0000)
committerTom Yu <tlyu@mit.edu>
Fri, 6 Jun 2003 14:44:33 +0000 (14:44 +0000)
commit77df9e16742508c9f0c2ad08a6f70faa07dd22ce
tree183ee52f70107efa46d122cf228db290a948f30e
parent12a30d0c740c9b6efbe6732c4c46e0be6ce263e2
* g_cnffile.c (krb__get_srvtabname): Make retname be a static
array rather than a static pointer, to avoid callers' possible
retention of free()d pointers.  Yes, this may cause difficulty
with making this function thread-safe.

ticket: 1563
target_version: 1.3
version_fixed: 1.3
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15589 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb4/ChangeLog
src/lib/krb4/g_cnffile.c