]> git.ipfire.org Git - thirdparty/suricata.git/commit
sip: use right slice to take line from 11312/head
authorPhilippe Antoine <pantoine@oisf.net>
Mon, 17 Jun 2024 13:38:11 +0000 (15:38 +0200)
committerPhilippe Antoine <pantoine@oisf.net>
Mon, 17 Jun 2024 13:38:11 +0000 (15:38 +0200)
commit4ccbcc46847e2a70d4d1bc251f3f1f751cfe7df4
tree7aba339bdb3241a9d68d3d15c57ae4f93a652db5
parent49ecf37126b1465d0a49224f753c69aa204aa700
sip: use right slice to take line from

We iterate over input, but we are now at start.
Avois quadratic complexity turning to OOM.

Ticket: 7093
rust/src/sip/sip.rs