Skip to content

Conversation

@tlively
Copy link
Member

@tlively tlively commented Jun 19, 2024

Add an isUTF8 utility and use it in both the text and binary parsers. Add missing checks for overlong encodings and overlarge code points in our WTF8 reader, which the new utility uses. Re-enable the spec tests that test UTF-8 validation.

@tlively tlively requested a review from kripken June 19, 2024 00:27
@tlively tlively force-pushed the spec-test-leb128 branch from c4bd0b4 to 5c8bd00 Compare June 19, 2024 01:36
Base automatically changed from spec-test-leb128 to main June 19, 2024 02:12
Add an `isUTF8` utility and use it in both the text and binary parsers. Add
missing checks for overlong encodings and overlarge code points in our WTF8
reader, which the new utility uses. Re-enable the spec tests that test UTF-8
validation.
@tlively tlively enabled auto-merge (squash) June 19, 2024 02:28
@tlively tlively merged commit 765c614 into main Jun 19, 2024
@tlively tlively deleted the spec-test-utf8 branch June 19, 2024 03:08
@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