Skip to content

fix(beatree): prevent underflow on deletion of non-existend key - #956

Merged
rphmeier merged 1 commit into
thrumdev:masterfrom
citizen-stig:fix/empty-changeset-underflow
Oct 23, 2026
Merged

rphmeier merged 1 commit into
thrumdev:masterfrom
citizen-stig:fix/empty-changeset-underflow

Conversation

@citizen-stig

Copy link
Copy Markdown
Contributor

Discovered with existing fuzz testing:

cargo +nightly fuzz run grow_hashtable -- -max_total_time=600 -fork=8
..

────────────────────────────────────────────────────────────────────────────────

Failing input:

	fuzz/artifacts/grow_hashtable/crash-e4b832dc54a9ed222b0a3ebb9d48e4fa582827c1

Reproduce with:

	cargo fuzz run grow_hashtable fuzz/artifacts/grow_hashtable/crash-e4b832dc54a9ed222b0a3ebb9d48e4fa582827c1

Minimize test case with:

	cargo fuzz tmin grow_hashtable fuzz/artifacts/grow_hashtable/crash-e4b832dc54a9ed222b0a3ebb9d48e4fa582827c1

────────────────────────────────────────────────────────────────────────────────

Error: Fuzz target exited with exit status: 77

@rphmeier
rphmeier merged commit 63f7dd5 into thrumdev:master Oct 23, 2026
7 checks passed
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.

2 participants