Skip to content

Add a per-usage fuzzer cost for long struct/field/enum/variant names#505

Merged
juntyr merged 1 commit into
ron-rs:masterfrom
juntyr:fuzz-long-name-cost
Sep 13, 2023
Merged

Add a per-usage fuzzer cost for long struct/field/enum/variant names#505
juntyr merged 1 commit into
ron-rs:masterfrom
juntyr:fuzz-long-name-cost

Conversation

@juntyr

@juntyr juntyr commented Sep 13, 2023

Copy link
Copy Markdown
Member

The fuzzer found another loophole to time itself out: long names previously only cost during type construction, even though they are used with every value usage. Now these name lengths are collected, and are billed if they exceed some threshold.

* [ ] I've included my change in CHANGELOG.md

@juntyr juntyr merged commit a3bdaea into ron-rs:master Sep 13, 2023
@juntyr juntyr deleted the fuzz-long-name-cost branch September 13, 2023 08:39
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