------------------------------------------------------------ revno: 11838 revision-id: squid3@treenet.co.nz-20150828132626-owdtan8w68jox4sn parent: squid3@treenet.co.nz-20150501075044-w51xt7ob60xlmrms fixes bug: http://bugs.squid-cache.org/show_bug.cgi?id=3696 committer: Amos Jeffries branch nick: 3.2 timestamp: Fri 2015-08-28 06:26:26 -0700 message: Bug 3696: crash when client delay pools are activated ------------------------------------------------------------ # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: squid3@treenet.co.nz-20150828132626-owdtan8w68jox4sn # target_branch: http://bzr.squid-cache.org/bzr/squid3/branches\ # /SQUID_3_2 # testament_sha1: 1368f6e29c2370709a6d1088f900df103fff5680 # timestamp: 2015-08-28 13:28:53 +0000 # source_branch: http://bzr.squid-cache.org/bzr/squid3/3.2 # base_revision_id: squid3@treenet.co.nz-20150501075044-\ # w51xt7ob60xlmrms # # Begin patch === modified file 'src/client_side.cc' --- src/client_side.cc 2013-01-28 11:49:40 +0000 +++ src/client_side.cc 2015-08-28 13:26:26 +0000 @@ -3255,7 +3255,8 @@ /* pools require explicit 'allow' to assign a client into them */ if (pools[pool].access) { - ch.accessList = pools[pool].access; + cbdataReferenceDone(ch.accessList); + ch.accessList = cbdataReference(pools[pool].access); allow_t answer = ch.fastCheck(); if (answer == ACCESS_ALLOWED) {