diff options
author | Thomas Lively <tlively@google.com> | 2024-06-18 20:08:25 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-19 03:08:25 +0000 |
commit | 765c61445550c6e4ecfd250e1893d776d570b4fd (patch) | |
tree | ab60cbac0ba59fa649d93e9b62a2c0b0b0915a69 /test/fasta.cpp | |
parent | 3acacac34c9ebe949fbc7d9eb3649266760104fe (diff) | |
download | binaryen-765c61445550c6e4ecfd250e1893d776d570b4fd.tar.gz binaryen-765c61445550c6e4ecfd250e1893d776d570b4fd.tar.bz2 binaryen-765c61445550c6e4ecfd250e1893d776d570b4fd.zip |
Validate that names are valid UTF-8 (#6682)
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.
Diffstat (limited to 'test/fasta.cpp')
0 files changed, 0 insertions, 0 deletions