------------------------------------------------------------ revno: 13899 revision-id: squid3@treenet.co.nz-20150828132238-x8hudmdilr0dpzf1 parent: squid3@treenet.co.nz-20150827081138-104e81dm0bvt4l7q fixes bug: http://bugs.squid-cache.org/show_bug.cgi?id=3696 committer: Amos Jeffries branch nick: 3.5 timestamp: Fri 2015-08-28 06:22:38 -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-20150828132238-x8hudmdilr0dpzf1 # target_branch: http://bzr.squid-cache.org/bzr/squid3/3.5 # testament_sha1: df1adc6cdc2558975e103dd66a2474c1cbbde825 # timestamp: 2015-08-28 13:35:15 +0000 # source_branch: http://bzr.squid-cache.org/bzr/squid3/3.5 # base_revision_id: squid3@treenet.co.nz-20150827081138-\ # 104e81dm0bvt4l7q # # Begin patch === modified file 'src/client_side.cc' --- src/client_side.cc 2015-08-21 00:31:55 +0000 +++ src/client_side.cc 2015-08-28 13:22:38 +0000 @@ -3624,7 +3624,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) {