From 6190913a461e9943e83f24d78a368043c22f0039 Mon Sep 17 00:00:00 2001 From: Shivani Bhardwaj Date: Tue, 2 May 2023 12:06:11 +0530 Subject: [PATCH] util/mime: disable assertion check until resolution --- src/util-decode-mime.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/util-decode-mime.c b/src/util-decode-mime.c index 6bb7e9d934..77e5ef8328 100644 --- a/src/util-decode-mime.c +++ b/src/util-decode-mime.c @@ -1674,9 +1674,12 @@ static int FindMimeHeader(const uint8_t *buf, uint32_t blen, int finish_header = 0, new_header = 0; MimeDecConfig *mdcfg = MimeDecGetConfig(); +/* TODO enable the following check once https://redmine.openinfosecfoundation.org/issues/6019 is + * resolved */ +#if 0 /* should not get here with incomplete lines */ DEBUG_VALIDATE_BUG_ON(state->current_line_delimiter_len == 0 && blen < SMTP_LINE_BUFFER_LIMIT); - +#endif /* Find first header */ hname = FindMimeHeaderStart(buf, blen, &hlen); if (hname != NULL) { -- 2.47.2