]> git.ipfire.org Git - thirdparty/squid.git/commit
Harden peerDigestSwapInMask against invalid cache digest reply (#2423)
authorFrancesco Chemolli <5175948+kinkie@users.noreply.github.com>
Sat, 30 May 2026 10:16:33 +0000 (10:16 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Sat, 30 May 2026 10:22:53 +0000 (10:22 +0000)
commit556b91a8a758b6ef28fee25bc0dad834d4815b4a
treeba33512e400817b4877139588a0ef9bcb3c22b3b
parent36d2b6be141cbe540da4a26ad8a8851d1748dbea
Harden peerDigestSwapInMask against invalid cache digest reply (#2423)

A cache_digest on-the-wire size may be bigger than the
mask_size declared in the digest itself.

Ignore the digest in case this happens.
src/peer_digest.cc