]> git.ipfire.org Git - thirdparty/squid.git/commit
Bug 3972: Segfault when getting the deny info page ID after a reconfigure
authorNathan Hoad <nathan@getoffmalawn.com>
Sat, 30 Nov 2013 09:16:25 +0000 (02:16 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 30 Nov 2013 09:16:25 +0000 (02:16 -0700)
commit3239f66f6f87d3f756b41cdcd9ea44c90f620610
tree1a6ea759d899e691594827bf438d99ad6f9bbf87
parentcef4aef658f0385f68bec37776e8f28605700867
Bug 3972: Segfault when getting the deny info page ID after a reconfigure

Older ACL code was using a stale AclMatchedName value. More recent code resets
the AclMatchedName global to NULL to avoid leaking the stale value, but that
may crash strcmp() in aclGetDenyInfoPage(). Long-term, the global should be
removed, of course.
src/acl/Gadgets.cc