summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-02-05 19:22:04 +0000
committerache <ache@FreeBSD.org>1997-02-05 19:22:04 +0000
commit984b53f1840f31611a97cc8389b251aa7c1a900e (patch)
tree45b10daccf87075ad2500c2814f7dc6d543b1e14 /lib/libc
parentb7803f6c96c45c04974507c2a5e6cc4d79d35539 (diff)
downloadFreeBSD-src-984b53f1840f31611a97cc8389b251aa7c1a900e.zip
FreeBSD-src-984b53f1840f31611a97cc8389b251aa7c1a900e.tar.gz
Update the comment why range checking is not needed
Should go in 2.2
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdtime/strftime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdtime/strftime.c b/lib/libc/stdtime/strftime.c
index 417420c..7e624c5 100644
--- a/lib/libc/stdtime/strftime.c
+++ b/lib/libc/stdtime/strftime.c
@@ -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);
OpenPOWER on IntegriCloud