[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 04:10:41 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 for case of nodelist_map. It should be fast
enough, if that working solution actually (can it leads to false
positive?). Probably need to warn only without crash by assert, but broken
could be danger. And no general solution for plan B for every hashtables,
this one could be fixed by using the_nodelist->nodes to iterate over
actual list to recreate HT. On the other hand it's not task for Tor to fix
memory failures or do some workarounds for that case.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/11737#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list