]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix FTP response parsing and error handling memory leaks (#2133)
authorEduard Bagdasaryan <eduard.bagdasaryan@measurement-factory.com>
Fri, 1 Aug 2025 19:58:26 +0000 (19:58 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Sun, 3 Aug 2025 19:59:14 +0000 (19:59 +0000)
commit965e2559fe206f301f19dc63c2e1859bb52bdd06
treeb2e1e50e40bd6fa0771d9fab181a2f0395dd01ef
parent5be401dca3e17af97534795551b9ba7c95db05c5
Fix FTP response parsing and error handling memory leaks (#2133)

FTP EPLF parsing leaks in ftpListParseParts() were detected by Coverity.
CID 1660782 and CID 1660785: Resource leaks (RESOURCE_LEAK).

Three other FTP client-related leaks were detected by Valgrind:

* Ftp::CtrlChannel::last_reply
* ErrorPage::ftp::cwd_msg
* Ftp::DataChannel::host
src/clients/FtpClient.cc
src/clients/FtpGateway.cc
src/errorpage.cc