]> git.ipfire.org Git - thirdparty/squid.git/commit
Fixed Ipc::Mem::PageStack::theSize type to be signed.
authorAlex Rousskov <rousskov@measurement-factory.com>
Tue, 12 Apr 2011 22:02:13 +0000 (16:02 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Tue, 12 Apr 2011 22:02:13 +0000 (16:02 -0600)
commite963b5b5d578ffd2e7b96cd87d8150c36bb78eae
tree4d56ca382ec9b904f7c49644315b9c67ba44bb8a
parent9e92017a5ea407975e20094e864bbe4790ceb071
Fixed Ipc::Mem::PageStack::theSize type to be signed.
Otherwise, unsigned zero theSize underflows in pop(), causing an infinite loop.
src/ipc/mem/PageStack.cc
src/ipc/mem/PageStack.h