]> git.ipfire.org Git - thirdparty/suricata.git/commit
ftp: separate truncated line markers
authorShivani Bhardwaj <shivani@oisf.net>
Mon, 5 Jun 2023 10:45:51 +0000 (16:15 +0530)
committerVictor Julien <vjulien@oisf.net>
Thu, 8 Jun 2023 17:10:56 +0000 (19:10 +0200)
commitaee7838ce15c1368310686d43455f0d594134244
tree8d7909ee87e1fc4e610f7d617aba5b88328fd1dc
parent03442a36efaa1592c680ce43280fe2e007eb8efe
ftp: separate truncated line markers

So far, we store one variable in state to hold whether we want to
discard a long line till LF irrespective of direction. This means that a
long command to the client followed by a regular command w LF can be
considered as one long line which is incorrect.

Bug 6054
src/app-layer-ftp.c
src/app-layer-ftp.h