mirror of https://github.com/OISF/suricata
smtp/mime: avoid quadratic complexity in mime_smtp_find_url_strings
Ticket: 8292 When we have buffered something in ctx.decoded_line, we already looked for '\n' in it, so we do not need to run it again Otherwise, callers that supply mime_smtp_find_url_strings with a few bytes at a time without "\n", have a quadratic complexitypull/15040/head
parent
8c29c471b4
commit
8bba47aa09
Loading…
Reference in New Issue