[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #29895 [Core Tor/Tor]: avoid storing ints in void* in mainloop event data



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs