]> git.ipfire.org Git - thirdparty/squid.git/commit
WCCP: Fix GCC-10 -Wstringop-truncation failures (#708)
authorSergio Durigan Junior <github@sergiodj.net>
Sun, 16 Aug 2020 23:29:31 +0000 (23:29 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Mon, 17 Aug 2020 04:21:30 +0000 (04:21 +0000)
commit075813c89d5b2eb11214501efad0fcb251221cce
treedd4c84a24db363b42916b40041e1fe4296a67809
parentf6dd87e91711b194d808d99a9474c48a332db66f
WCCP: Fix GCC-10 -Wstringop-truncation failures (#708)

I can only trigger these failures when I compile on s390x.

    In function 'char* strncpy(char*, const char*, size_t)', output
        may be truncated copying 8 bytes from a string of length 8

Signed-off-by: Sergio Durigan Junior <sergiodj@debian.org>
src/wccp2.cc