Skip to content

harden peerDigestSwapInMask against invalid cache digest data#2423

Open
kinkie wants to merge 1 commit into
squid-cache:masterfrom
kinkie:fix-cachedigest-overflow
Open

harden peerDigestSwapInMask against invalid cache digest data#2423
kinkie wants to merge 1 commit into
squid-cache:masterfrom
kinkie:fix-cachedigest-overflow

Conversation

@kinkie
Copy link
Copy Markdown
Contributor

@kinkie kinkie commented May 22, 2026

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.

@kinkie kinkie marked this pull request as ready for review May 22, 2026 22:29
@rousskov rousskov self-requested a review May 23, 2026 20:45
@yadij yadij added the backport-to-v7 maintainer has approved these changes for v7 backporting label May 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-to-v7 maintainer has approved these changes for v7 backporting

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants