Skip to content

Conversation

@tlively
Copy link
Member

@tlively tlively commented Mar 22, 2024

string.encode_wtf16_array operates on stringref, not on wtf16 string views, so
this conversion was causing validation errors when passed to V8 by the fuzzer.

`string.encode_wtf16_array` operates on stringref, not on wtf16 string views, so
this conversion was causing validation errors when passed to V8 by the fuzzer.
@tlively tlively requested a review from kripken March 22, 2024 22:17
@tlively
Copy link
Member Author

tlively commented Mar 22, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @tlively and the rest of your teammates on Graphite Graphite

@kripken
Copy link
Member

kripken commented Mar 22, 2024

It would be good to add validation as we find things like this, to prevent us adding more incorrect tests, though it's not urgent.

@tlively
Copy link
Member Author

tlively commented Mar 22, 2024

Fortunately my work on ChildTyper will ensure that we have no missing validation of child types in any expression, and unfortunately that means that any new code checking child types is going to be very short lived.

@tlively tlively enabled auto-merge (squash) March 22, 2024 22:34
@kripken
Copy link
Member

kripken commented Mar 22, 2024

Ah, great! Even better 😄

@tlively tlively merged commit d3414c3 into main Mar 22, 2024
@tlively tlively deleted the fix-string-test branch March 22, 2024 22:44
@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.

3 participants