------------------------------------------------------------ revno: 12417 revision-id: squid3@treenet.co.nz-20121129103627-ljhpd8ewbjc7nirk parent: squid3@treenet.co.nz-20121129102658-rpag7hg7fjhuxdoa fixes bug(s): http://bugs.squid-cache.org/show_bug.cgi?id=3685 committer: Amos Jeffries branch nick: 3.3 timestamp: Thu 2012-11-29 03:36:27 -0700 message: Bug 3685: Squid hangs in ClassCBucket::update ------------------------------------------------------------ # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: squid3@treenet.co.nz-20121129103627-ljhpd8ewbjc7nirk # target_branch: http://bzr.squid-cache.org/bzr/squid3/3.3 # testament_sha1: e5c14ccbc2545399d33d4c4c5d3a0ea156d5d343 # timestamp: 2012-11-29 10:40:19 +0000 # source_branch: http://bzr.squid-cache.org/bzr/squid3/3.3 # base_revision_id: squid3@treenet.co.nz-20121129102658-\ # rpag7hg7fjhuxdoa # # Begin patch === modified file 'src/delay_pools.cc' --- src/delay_pools.cc 2012-08-28 13:00:30 +0000 +++ src/delay_pools.cc 2012-11-29 10:36:27 +0000 @@ -368,7 +368,7 @@ /* If we aren't active, don't try to update us ! */ assert (rate.restore_bps != -1); - for (unsigned char j = 0; j < individuals.size(); ++j) + for (unsigned int j = 0; j < individuals.size(); ++j) individuals.values[j].update (rate, incr); }