]> git.ipfire.org Git - thirdparty/suricata.git/commit
app/ftp: Eliminate scan-build warning
authorJeff Lucovsky <jlucovsky@oisf.net>
Fri, 28 Mar 2025 14:12:59 +0000 (10:12 -0400)
committerJason Ish <jason.ish@oisf.net>
Mon, 7 Apr 2025 21:25:04 +0000 (15:25 -0600)
commitfdc43e5ac40dd6e6cd9076c1cfc8b15ec33fa3e8
tree1c0410d45be4d33e0bc34d74bc21e5fc0ae61345
parent88c38fc4a001a627063fbf2c68ccfe7bef8d18e5
app/ftp: Eliminate scan-build warning

Scan-build reports that FTPRealloc could be called with size=0. Modify
the logic so it's never passed 0.
src/app-layer-ftp.c