Add yet one comment saying that range checking already done

to stop people "fixing" it by snprintf
This commit is contained in:
Andrey A. Chernov 1997-02-03 08:29:32 +00:00
parent 8ecec21da6
commit 2b3e51b901
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=22237

View File

@ -311,6 +311,7 @@ const char *encoding;
return(0);
if (!_PathLocale)
return(1);
/* Range checking already done at upper level caller */
strcpy(name, _PathLocale);
strcat(name, "/");
strcat(name, encoding);