Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Sep 13, 2023

Conversation

juntyr
Copy link
Member

@juntyr juntyr commented Sep 13, 2023

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
8 checks passed
@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