RHBA-2012:1452
The ftp packages provide the standard UNIX command line File Transfer Protocol (FTP) client. FTP is a widely used protocol for transferring files over the Internet, and for archiving files. This update fixes the following bugs: * Previous implementation of FTP did not free the memory allocated for its commands correctly. Consequently, memory leaks occurred whenever the "append", "put" and "send" commands were run. With this update, the underlying source code has been corrected and allocated memory is now freed as expected. (BZ#871072) * Previously, the size of the buffer used for an FTP macro definition was limited to 200 characters. Therefore, if the size of the macro was larger than 200 characters, the buffer overflowed and the FTP client terminated unexpectedly. This update extends the buffer of the FTP macro to match the size of the FTP command line limit, which is now 4296 characters. The FTP client no longer crashes in this scenario. (BZ#871547) Additionally, this update adds the following enhancement: * Previously, the command line width in the FTP client was limited to 200 characters. With this update, the maximum possible length of the FTP command line has been extended to 4296 characters. (BZ#871060) All users of ftp are advised to upgrade to these updated packages, which fix these bugs and add this enhancement.
Evidence and freshness
Last supporting evidence check: 2026-11-27T22:33:05.683Z UTC
Upstream Advisory
Affected Packages
ftp 0.17-51.1.el6_3.1