[tor-bugs] #29895 [Core Tor/Tor]: avoid storing ints in void* in mainloop event data
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Mar 25 20:38:55 UTC 2019
#29895: avoid storing ints in void* in mainloop event data
-------------------------------+-----------------------------------------
Reporter: catalyst | Owner: (none)
Type: defect | Status: new
Priority: Medium | Milestone: Tor: unspecified
Component: Core Tor/Tor | Version:
Severity: Normal | Keywords: portability, technical-debt
Actual Points: | Parent ID: #23714
Points: | Reviewer:
Sponsor: Sponsor31-can |
-------------------------------+-----------------------------------------
The pubsub patch (#28226) introduces another case of storing integers in a
`void *`. This time it's in a mainloop event. Similar to #23714, one way
we can fix this is using a union.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/29895>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list