]> 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:17:07 +0000 (02:17 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 30 Nov 2013 09:17:07 +0000 (02:17 -0700)
commit3211a3b3c8296a4ae7ad21fc4b3bd5bdb7ce7eb5
treeb0fb6136a8a6cdf444dc2f47fdffd27f5f0ea291
parent404ea3b2aa8d7a2fe50aee68be1d380a52c9716d
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