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

[Strings] Do not reuse mutable globals in StringGathering #6531

Merged
merged 2 commits into from
Apr 24, 2024

Conversation

kripken
Copy link
Member

@kripken kripken commented Apr 24, 2024

A rather serious fuzz bug that we were lucky no producer seems to have
emitted: We were reusing mutable globals in StringGathering, which meant
that we'd use a global to represent a particular string but if it was mutated
then it could contain a different string during execution.

@kripken kripken requested a review from tlively April 24, 2024 16:08
Copy link
Member

@tlively tlively left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, fuzzer!

@kripken kripken merged commit 1c977ba into WebAssembly:main Apr 24, 2024
11 of 14 checks passed
@kripken kripken deleted the string.gather.mut branch April 24, 2024 18:04
@gkdn gkdn mentioned this pull request Aug 31, 2024
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