[tor-bugs] #11737 [Tor]: Damage of cached hte_hash values for HTs leads to undefined behavior

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue May 6 05:45:32 UTC 2014


#11737: Damage of cached hte_hash values for HTs leads to undefined behavior
-----------------------------+--------------------------------
     Reporter:  cypherpunks  |      Owner:
         Type:  defect       |     Status:  new
     Priority:  normal       |  Milestone:  Tor: 0.2.5.x-final
    Component:  Tor          |    Version:
   Resolution:               |   Keywords:  tor-relay
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+--------------------------------

Comment (by cypherpunks):

 > Attached simple solution
 HT_REP_IS_BAD_ should be enough too, instead of new fragile construction.
 Or probably better to modify HT funcs to check index on duty.
 It's good to check every element on every HT func but it could to cost
 some cpu time.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/11737#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list