Add yet one comment saying that range checking already done
to stop people "fixing" it by snprintf
This commit is contained in:
parent
8ecec21da6
commit
2b3e51b901
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=22237
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user