[squid-users] squid-5.0.0-20190221-re008097c6

Alex Rousskov rousskov at measurement-factory.com
Fri Feb 22 18:05:34 UTC 2019


On 2/22/19 3:10 AM, joseph wrote:

> aded missing #include <vector> to proxyp/Header.h

Probably fixed at https://github.com/squid-cache/squid/pull/376


> another issue
> pconn.cc: In member function ‘void PconnPool::push(const
> ConnectionPointer&, const char*)’:
> pconn.cc:435:32: error: ‘%s’ directive output may be truncated writing
> up to 777 bytes into a region of size 51 [-Werror=format-truncation=]
>      snprintf(desc, FD_DESC_SZ, "Idle server: %s", aKey);
>                                 ^~~~~~~~~~~~~~~~~
> pconn.cc:435:13: note: ‘snprintf’ output between 14 and 791 bytes into a
> destination of size 64
>      snprintf(desc, FD_DESC_SZ, "Idle server: %s", aKey);
>      ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

That sounds related to the following PR, but that PR is older and has
many more changes than just the build fix so apply with extra caution:
https://github.com/squid-cache/squid/pull/270


For the time being, to avoid annoying other mailing list subscribers
further, I am going to ignore squid-users emails related to problems
with building Squid v5/master.

Alex.


More information about the squid-users mailing list