]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix HttpHeaderStats definition to include hoErrorDetail (#787)
authorAlex Rousskov <rousskov@measurement-factory.com>
Mon, 15 Mar 2021 14:05:05 +0000 (14:05 +0000)
committerAmos Jeffries <yadij@users.noreply.github.com>
Sun, 4 Apr 2021 05:16:24 +0000 (17:16 +1200)
commitf866dee2d5d944917cc339bd5fc6675d42357149
treeef25eecdea65fe9bbc01d4db984cb683f54fbde0
parenta975fd5aedc866629214aaaccb38376855351899
Fix HttpHeaderStats definition to include hoErrorDetail (#787)

... when Squid is built --with-openssl.

We were "lucky" that the memory area after HttpHeaderStats was not,
apparently, used for anything important enough when HttpHeader::parse(),
indirectly called from errorInitialize() during initial Squid
configuration, was writing to it.

Detected by using AddressSanitizer.

The bug was created in commit 02259ff and cemented by commit 2673511.
CONTRIBUTORS
src/HttpHeader.cc