Skip to content

Commit

Permalink
test: asan fix with jenkins
Browse files Browse the repository at this point in the history
  • Loading branch information
rurban committed Aug 7, 2022
1 parent 4b8173a commit 9a44268
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ int main(int argc, char **argv)
if (verbose)
printf("%u: %u\n", 1, h);
# else
char *w = "englis";
char *w = "englis\0\0";
h = hash(w, strlen(w));
if (verbose)
printf("%s: %d\n", w, h); // false-positive! englis == Luz's
Expand Down

0 comments on commit 9a44268

Please sign in to comment.