]> git.ipfire.org Git - thirdparty/suricata.git/commit
ftp: remove temporary fields from state
authorPhilippe Antoine <contact@catenacyber.fr>
Tue, 31 May 2022 11:24:09 +0000 (13:24 +0200)
committerVictor Julien <vjulien@oisf.net>
Thu, 2 Jun 2022 05:33:19 +0000 (07:33 +0200)
commit5a00acece2c681dd590e7a02ae8ead6cdcd1229b
tree14a61ab5998b3a611a0d258056fc1a6fa40a6929
parent6224e283fab12ebe75b635f9b3085d25525a40bc
ftp: remove temporary fields from state

As input, input_len and direction only last for the scope of
one call of AppLayerParserParse, it is not necessary to keep them
in FtpState which lives longer, so we consume less memory.
src/app-layer-ftp.c
src/app-layer-ftp.h