]> git.ipfire.org Git - thirdparty/squid.git/commit
Bugzilla #215: NULL pointer access for proxy requests in accel-only mode
authorwessels <>
Tue, 21 Aug 2001 11:54:13 +0000 (11:54 +0000)
committerwessels <>
Tue, 21 Aug 2001 11:54:13 +0000 (11:54 +0000)
commit6abc193b4c4359da4b53a31123df9c4929676819
tree425672d8fd8c2599b7520e60022cdd5ea49a4b30
parentc04d4f40ba637c37ac4db8b020861d48d0a548b8
Bugzilla #215: NULL pointer access for proxy requests in accel-only mode

This patch fixes the bug by checking for NULL in aclIsProxyAuth().
If access is denied due to receipt of a proxy request with
'httpd_accel_with_proxy off' then AclMatchedName is NULL.
clientAccessCheckDone() calls aclIsProxyAuth() with the NULL pointer,
so the check could go into either function.  It was cleaner to put
it in aclIsProxyAuth().
src/acl.cc