Overview
| Artifact ID: | bcdc9a1c57d2a47d85856f1e4cccdd1e0b6b8137e4366e6448864e38babd9e33 |
|---|---|
| Ticket: | 885c86a9a0c537862e5895379d454e652a55324b
convertfrom utf8 breaks for 4 byte utf encodings |
| User & Date: | apnadkarni on 2023-02-15 16:19:37 |
Changes
- icomment:
I shouldn't do UTF arithmetic in my head, I worked it out to U+10000. Yes, I know it is an overlong sequence but invalid sequences is what I am testing. There is no rush with this, I'm just generating test cases to cover as many combinations of invalid sequences that I can from the Unicode standard tables. Tedious but half the security related bugs in encoders/decoders seem to come from invalid sequences so I don't consider them unimportant. /Ashok
- login: "apnadkarni"
- mimetype: "text/plain"