Update the comment why range checking is not needed
Should go in 2.2
This commit is contained in:
parent
b7803f6c96
commit
984b53f184
@ -509,7 +509,7 @@ __time_load_locale(const char *name)
|
||||
|
||||
if (!_PathLocale)
|
||||
goto no_locale;
|
||||
/* Range checking already done at upper level caller */
|
||||
/* Range checking not needed, name has fixed size */
|
||||
strcpy(filename, _PathLocale);
|
||||
strcat(filename, "/");
|
||||
strcat(filename, name);
|
||||
|
Loading…
Reference in New Issue
Block a user