[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 cypherpunks):
Replying to [comment:22 catalyst]:
> It is theoretically possible that uint8_t is a distinct type from
unsigned char on a POSIX platform, but that would be a very unusual
implementation choice.
AFAIK uint8_t is guaranteed to be exactly 8 bits while unsigned char is
`CHAR_BIT` bits which depends on the platform.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6877#comment:23>
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