]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix startup crash with a misconfigured (too-small) shared memory cache
authorAlex Rousskov <rousskov@measurement-factory.com>
Fri, 18 Dec 2015 12:50:46 +0000 (01:50 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 18 Dec 2015 12:50:46 +0000 (01:50 +1300)
commitdabd0fe2a0b25739cd6dac03d464479735df0c38
tree19c71bbd1c75d9b6c24a36d3620b6ab8f0914aa5
parentce50158800706d6e4b4b458f76009ec5eb47c582
Fix startup crash with a misconfigured (too-small) shared memory cache

Controller condition for allocating MemStore is slightly different from
MemStore condition for allocating MemStore::map, resulting in MemStore
without a map. Until that discrepancy is fixed, be careful when
dereferencing MemStore::map.
src/MemStore.cc