Skip to content

Commit

Permalink
blah
Browse files Browse the repository at this point in the history
  • Loading branch information
ragusaa committed Jun 24, 2024
1 parent 73a2786 commit 837e6e4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions libclamav/htmlnorm.c
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,6 @@ static inline void html_tag_contents_append(struct tag_contents *cont, const uns
uint32_t mbchar = 0;
if (!begin || !end)
return;

for (i = cont->pos; i < MAX_TAG_CONTENTS_LENGTH && (begin < end); i++) {
uint8_t c = *begin++;
if (mbchar && (c < 0x80 || mbchar >= 0x10000)) {
Expand Down Expand Up @@ -688,7 +687,6 @@ static bool cli_html_normalise(cli_ctx *ctx, int fd, m_area_t *m_area, const cha
uint32_t mbchar = 0;
uint32_t mbchar2 = 0;


/*
* Initialize stack buffers.
*/
Expand Down Expand Up @@ -1931,7 +1929,6 @@ static bool cli_html_normalise(cli_ctx *ctx, int fd, m_area_t *m_area, const cha
cli_js_destroy(js_state);
js_state = NULL;
}

html_tag_arg_free(&tag_args);
if (!m_area) {
fclose(stream_in);
Expand Down

0 comments on commit 837e6e4

Please sign in to comment.