[tor-bugs] #29537 [Core Tor/Tor]: verify intptr_t round-trip through void *
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sun Mar 10 23:26:38 UTC 2019
#29537: verify intptr_t round-trip through void *
----------------------------------------+----------------------------------
Reporter: catalyst | Owner: (none)
Type: defect | Status:
| needs_information
Priority: Medium | Milestone: Tor:
| 0.4.1.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: portability technical-debt | Actual Points:
Parent ID: | Points:
Reviewer: catalyst | Sponsor:
----------------------------------------+----------------------------------
Comment (by nickm):
I'm not claiming that those ranges are most dangerous; I'm claiming that
if any integers fail to round-trip, it is likely that at least one of the
integers in that range will fail to round-trip.
I don't think an exhaustive test is a good idea, especially since
platforms where sizeof(int) > 8 do exist.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/29537#comment:12>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list