[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #6877 [Core Tor/Tor]: Finally replace all char[] buffers with uint8_t[] buffers
#6877: Finally replace all char[] buffers with uint8_t[] buffers
-------------------------------------------------+-------------------------
Reporter: nickm | Owner:
Type: defect | Status: new
Priority: High | Milestone: Tor:
| unspecified
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: tor-client tor-relay refactoring | Actual Points:
technical-debt lots-of-work |
Parent ID: | Points: 10
Reviewer: | Sponsor:
-------------------------------------------------+-------------------------
Comment (by catalyst):
A comment on stackoverflow reminds me that uint8_t could be char on a
platform where char is unsigned. It would still be a character type in
that case and would therefore still have the privileged aliasing
properties. (The test in #22410 would need to additionally check for the
possibility that uint8_t is char on platforms where char is unsigned, if
such platforms existed.)
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6877#comment:25>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs