]> git.ipfire.org Git - thirdparty/suricata.git/commit
ftp: don't decrement truncated line len 8982/head
authorShivani Bhardwaj <shivani@oisf.net>
Tue, 6 Jun 2023 10:48:12 +0000 (16:18 +0530)
committerShivani Bhardwaj <shivanib134@gmail.com>
Wed, 7 Jun 2023 03:50:09 +0000 (09:20 +0530)
commit1b9e4fba061e3549d3db7ed6ae00d0a81d29b570
treeaff7b276377e2b68a900731230fc435e0a54ca94
parent544ac300a990aa65db4cf89504024315a2a80566
ftp: don't decrement truncated line len

In case LF was found for a long line way outside of the limit, we should
not need to update the delimiter len and current line len because the
line is capped at 4k and the LF was not within these 4k bytes.
src/app-layer-ftp.c