]> git.ipfire.org Git - thirdparty/squid.git/commit
Bug 4671 pt3: remove limit on FTP realm strings
authorAmos Jeffries <>
Fri, 31 Mar 2017 12:53:33 +0000 (01:53 +1300)
committerAmos Jeffries <>
Fri, 31 Mar 2017 12:53:33 +0000 (01:53 +1300)
commitbd556b201622858b6f2ffa945284f02cf03769d8
tree09558417337a7aae6ce3a6387e490c9a41673958
parent17ad37825082f1bd4c92a1b2e60b3c88af3ad2b9
Bug 4671 pt3: remove limit on FTP realm strings

Convert ftpRealm() from generating char* to SBuf. This fixes issues identified
by GCC 7 where the realm string may be longer than the available buffer and
gets truncated.
The size of the buffer was making the occurance rather rare, but it is still
possible.
src/clients/FtpGateway.cc