]> git.ipfire.org Git - thirdparty/squid.git/commit
Coverity detected. inconsistent error detection on StoreIOBUffer
authorAmos Jeffries <amosjeffries@squid-cache.org>
Mon, 6 Oct 2008 11:34:25 +0000 (05:34 -0600)
committerAmos Jeffries <amosjeffries@squid-cache.org>
Mon, 6 Oct 2008 11:34:25 +0000 (05:34 -0600)
commit02dd5cb79db015f715e2d64917db75cadde2bc64
tree3b3c09972478d7b29634dedc07942c4c9b6f129d
parentfef14b594fea074729b46b56f12003cad42711fd
Coverity detected. inconsistent error detection on StoreIOBUffer

Audit reveals only one of several callers which might set negative length
state were checking for it and setting error flag properly.

Makes more sense for the StoreIOBuffer constructor to do its own
error state detection with information than to offload on callers.
helpers/ntlm_auth/fakeauth/fakeauth_auth.c