From 9ea979b303d20ac5b4309a17521b20a2f39c8954 Mon Sep 17 00:00:00 2001 From: Matteo Flebus Date: Tue, 27 Jan 2026 19:10:32 +0100 Subject: [PATCH] fix(parser): initialization is not heap buffer overflowing anymore --- src/parser/grammar.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/parser/grammar.c b/src/parser/grammar.c index b734c7b..5b3d78a 100644 --- a/src/parser/grammar.c +++ b/src/parser/grammar.c @@ -52,7 +52,6 @@ static bool add_first(enum rule rule, enum token_type token) } // Fill - item->list_length++; item->tokens[item->list_length - 1] = token; return true;