Skip to content

Commit

Permalink
Update regex_suffix.c
Browse files Browse the repository at this point in the history
Undo functional change. I'll do it in a separate pull
  • Loading branch information
RainRat committed Nov 17, 2023
1 parent 42f76ba commit 0478474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libclamav/regex_suffix.c
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ cl_error_t cli_regex2suffix(const char *pattern, regex_t *preg, suffix_callback
goto done;
}
memset(&buf, 0, sizeof(buf));
memset(&root_node, 0, sizeof(root_node));
memset(&root_node, 0, sizeof(buf));
n->parent = &root_node;

rc = build_suffixtree_descend(n, &buf, cb, cbdata, &regex);
Expand Down

0 comments on commit 0478474

Please sign in to comment.