]> git.ipfire.org Git - thirdparty/squid.git/commit
Bug 4843 pt2: squidclient refactoring for GCC-8 (#208) M-staged-PR208
authorAmos Jeffries <yadij@users.noreply.github.com>
Sun, 20 May 2018 15:46:50 +0000 (15:46 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Mon, 21 May 2018 17:29:29 +0000 (17:29 +0000)
commit4b19fa9ec286b969d23b2c0f4579b27de4e61ce6
tree92e9842c9006f6d1f6a94c9eb1383a006a688ffb
parentea35939be2141c7bb9fb96d6ee3a1e345b94428a
Bug 4843 pt2: squidclient refactoring for GCC-8 (#208)

Replace fixed size buffers for mime header block and additional
custom headers. This fixes long standing issues with buffer
overflow from large custom header values which have become a
hard error in GCC-8.

Also improve snprintf() URL buffer limit handling and const
correctness for Transport::Write().
tools/squidclient/Transport.cc
tools/squidclient/Transport.h
tools/squidclient/squidclient.cc