From e56a1af6231b1037bc62d2ce4ee628b640362476 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Wed, 5 Feb 1997 19:22:04 +0000 Subject: [PATCH] Update the comment why range checking is not needed Should go in 2.2 --- lib/libc/stdtime/strftime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libc/stdtime/strftime.c b/lib/libc/stdtime/strftime.c index 417420c8f2e..7e624c5f42c 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);