]> git.ipfire.org Git - thirdparty/suricata.git/commit
ftp: FTPParseResponse bufferizes lines 4891/head
authorPhilippe Antoine <contact@catenacyber.fr>
Mon, 16 Mar 2020 13:46:51 +0000 (14:46 +0100)
committerVictor Julien <victor@inliniac.net>
Mon, 27 Apr 2020 10:24:53 +0000 (12:24 +0200)
commitc0e393944e5631b1e5f7e28198ab9f854ecb5286
treee0d6ab661756f37bfce745cb9e2474aecf3054c8
parentecfc327ed851805159707ff4cd7c8bee2d1e1ea4
ftp: FTPParseResponse bufferizes lines

Protects against evasion by TCP packet splitting

The problem arised if the FTP response is split on multiple packets

The fix is to bufferize the content, until we get a complete line
src/app-layer-ftp.c