------------------------------------------------------------ revno: 12693 revision-id: squid3@treenet.co.nz-20150828132515-nvi7c9u05ih9t77y parent: squid3@treenet.co.nz-20150501084853-uu1itwd0oxz6ws3r fixes bug: http://bugs.squid-cache.org/show_bug.cgi?id=3696 committer: Amos Jeffries branch nick: 3.3 timestamp: Fri 2015-08-28 06:25:15 -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-20150828132515-nvi7c9u05ih9t77y # target_branch: http://bzr.squid-cache.org/bzr/squid3/3.3 # testament_sha1: 1bd4c72b21cea3f47df9ff968b2ddd2192d252b0 # timestamp: 2015-08-28 13:29:37 +0000 # source_branch: http://bzr.squid-cache.org/bzr/squid3/3.3 # base_revision_id: squid3@treenet.co.nz-20150501084853-\ # uu1itwd0oxz6ws3r # # Begin patch === modified file 'src/client_side.cc' --- src/client_side.cc 2014-03-09 02:35:19 +0000 +++ src/client_side.cc 2015-08-28 13:25:15 +0000 @@ -3378,7 +3378,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) {