Skip to content

fuzz: traverse while mutating, check capacity, add a pool harness - #12

Merged
aotodev merged 1 commit into
masterfrom
7-fuzz-harness-blind-to-iterator-and-capacity-bugs
Sep 29, 2026
Merged

aotodev merged 1 commit into
masterfrom
7-fuzz-harness-blind-to-iterator-and-capacity-bugs

Conversation

@aotodev

@aotodev aotodev commented Sep 29, 2026

Copy link
Copy Markdown
Owner

fuzz_multislab only counted blocks from a fresh begin() and accepted any
nullptr under a cap, so the iterator and refill bugs got past it. It now
walks while releasing and allocating, holds allocate_at iterators across
operations, and requires allocation to succeed iff the cap leaves room.

fuzz_pool drives inserts, stored-iterator erases, erase-while-iterating
sweeps and clones over a payload that traps use after destruction.

Both catch the old bugs within seconds on the pre-fix commits.

Closes #7

@aotodev aotodev linked an issue Sep 29, 2026 that may be closed by this pull request
@aotodev
aotodev merged commit d058e90 into master Sep 29, 2026
5 checks passed
@aotodev
aotodev deleted the 7-fuzz-harness-blind-to-iterator-and-capacity-bugs branch September 29, 2026 19:48
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.

fuzz: harness blind to iterator and capacity bugs

1 participant