]> git.ipfire.org Git - thirdparty/suricata.git/commit
ftp: mark LF found per line
authorShivani Bhardwaj <shivani@oisf.net>
Mon, 5 Jun 2023 10:47:37 +0000 (16:17 +0530)
committerVictor Julien <vjulien@oisf.net>
Thu, 8 Jun 2023 17:10:56 +0000 (19:10 +0200)
commitc229621be4abccad50cc123fc95ac2e6fa4a020d
tree8184bee8cb6a9f91f4aa33643e6eaf9653b1a634
parentaee7838ce15c1368310686d43455f0d594134244
ftp: mark LF found per line

Currently, there is no way to mark if LF was found and then the line was
truncated. It becomes difficult to spot in the callers whether the line
was truncated despite LF being found or not. So, label it clearly with a
variable.
src/app-layer-ftp.c
src/app-layer-ftp.h