Visitar URL original
Fix 8-bit comparison table index mask by Sergane · Pull Request #2322 · google/fuzztest · GitHub
Skip to content

Fix 8-bit comparison table index mask - #2322

Open
Sergane wants to merge 1 commit into
google:mainfrom
Sergane:fix/torc-uint8-index-mask
Open

Sergane wants to merge 1 commit into
google:mainfrom
Sergane:fix/torc-uint8-index-mask

Conversation

@Sergane

@Sergane Sergane commented Nov 10, 2026

Copy link
Copy Markdown

The 8-bit table truncates its index mask to 255, writing only 256 of 4096 slots.
Use size_t for kValueMask so insertion can use the full table.

Fixes #2321.

The 8-bit table truncates its index mask to 255, writing only 256 of 4096 slots.
Use size_t for kValueMask so insertion can use the full table.

Fixes google#2321.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TableOfRecentCompares<uint8_t> truncates its index mask, limiting non-compact writes to 256 of 4096 slots

1 participant