]> git.ipfire.org Git - thirdparty/squid.git/commit
Made Coverity happier after Bug 4864 fix (#371)
authorAlex Rousskov <rousskov@measurement-factory.com>
Thu, 21 Feb 2019 21:56:48 +0000 (21:56 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Sat, 23 Feb 2019 21:57:41 +0000 (21:57 +0000)
commite7d3e24e3519df893626470101f8edda161f0146
treee571c50fdf583f4abf1b9bc74612e0493348be8e
parente008097c6636bfdca3b3ca7dd63411c2b4da4e53
Made Coverity happier after Bug 4864 fix (#371)

... by addressing the following false-positive:
CID 1442832: Null pointer dereferences (FORWARD_NULL)

The Comm::IsConnOpen() test guarantees that connManager is not nil. An
explicit assert() might reduce bugs when this code is refactored.
src/FwdState.cc