From a165e5f6b62f64647f8cedd769be06648f0a1dbf Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Sat, 2 Apr 2022 15:35:00 +0200 Subject: [PATCH] test_parser: Fix Off-by-One --- test_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_parser.c b/test_parser.c index 7ff44a04..1c56638b 100644 --- a/test_parser.c +++ b/test_parser.c @@ -68,7 +68,7 @@ int main() { keywordset_free(tags); - static char text[8001]; + static char text[8002]; text[8001] = 0; memset(text, '(', 8000); test_expression(tags, text, 1, 0);