Skip to content

Conversation

@kripken
Copy link
Member

@kripken kripken commented Apr 29, 2024

When we concat strings, check if their length exceeds a reasonable
limit. (We do not need to do this for string.new as that reads from an
array, which is already properly limited.)

This avoids very slow pauses in the fuzzer (that sometimes OOM).

@kripken kripken requested a review from tlively April 29, 2024 20:10
@kripken kripken merged commit 497ffe2 into WebAssembly:main Apr 29, 2024
@kripken kripken deleted the string.host.limit branch April 29, 2024 20:43
@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