mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-29 19:24:25 +03:00
UTF-8 validation: fix one cotec check corner issue
fix github issue #362
This commit is contained in:
committed by
Konstantinos Margaritis
parent
7c1835c0e7
commit
684f0ce2cb
@@ -64,8 +64,8 @@ static ValidUtf8TestInfo valid_utf8_tests[] = {
|
||||
{"공동경비구역", true},
|
||||
{"জলসাঘর", true},
|
||||
|
||||
// Invalid one-byte caseS.
|
||||
{"\x7f", false},
|
||||
// Valid one-byte caseS.
|
||||
{"\x7f", true}, // \x7f is valid
|
||||
|
||||
// These bytes should never appear in a UTF-8 stream.
|
||||
{"\xc0", false},
|
||||
|
Reference in New Issue
Block a user