Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
test_parser: Fix Off-by-One
  • Loading branch information
donald committed Apr 2, 2022
1 parent c7c6544 commit a165e5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_parser.c
Expand Up @@ -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);
Expand Down

0 comments on commit a165e5f

Please sign in to comment.