[tor-bugs] #27373 [Core Tor/Tor]: add UTF-8 validation code
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Aug 29 09:12:46 UTC 2018
#27373: add UTF-8 validation code
---------------------------------+------------------------------------
Reporter: cyberpunks | Owner: (none)
Type: task | Status: needs_revision
Priority: Medium | Milestone: Tor: 0.3.6.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: rust-wants, prop285 | Actual Points:
Parent ID: #24033 | Points:
Reviewer: | Sponsor:
---------------------------------+------------------------------------
Comment (by cyberpunks):
Replying to [comment:5 teor]:
> Can you also check that Surrogate code points fail to validate?
> I couldn't see any in there.
They're in there. That's what `"\xed\xa0\x80"` and `"\xed\xbf\xbf"` are.
They could be Unicode literals to make it clearer, but now I wonder if
clang will warn about those too...
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27373#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list