Skip to content

Commit

Permalink
blah:
Browse files Browse the repository at this point in the history
  • Loading branch information
ragusaa committed Jul 10, 2024
1 parent b5d0f86 commit 8461f4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libclamav/htmlnorm.c
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ bool html_insert_form_data(const char * const value, form_data_t *tags) {
* Do NOT use cli_max_realloc_or_free because all the previously malloc'd tag
* values will be leaked when tag is free'd in the case where realloc fails.
*/
tmp = realloc(tags->urls, cnt * sizeof(unsigned char *));
tmp = cli_max_realloc(tags->urls, cnt * sizeof(unsigned char *));
if (!tmp) {
goto done;
}
Expand Down

0 comments on commit 8461f4d

Please sign in to comment.