From 6c219d6c1d1a9e9b86707d8cf55ab753fc91ad16 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Tue, 15 Feb 2022 18:53:02 -0600 Subject: [PATCH] Update: Don't double check the variable. --- level_3/fake/c/private-make-operate_validate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/level_3/fake/c/private-make-operate_validate.c b/level_3/fake/c/private-make-operate_validate.c index 23fcee9..6d4d7f5a 100644 --- a/level_3/fake/c/private-make-operate_validate.c +++ b/level_3/fake/c/private-make-operate_validate.c @@ -1404,7 +1404,7 @@ extern "C" { return F_false; } - for (f_array_length_t i = 0; i < name.used; ++i) { + for (f_array_length_t i = 1; i < name.used; ++i) { if (!(isalnum(name.string[i]) || name.string[i] == '_')) { return F_false; -- 1.8.3.1