[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #7191 [Tor]: smartlist_bsearch_idx() is broken for short lists
#7191: smartlist_bsearch_idx() is broken for short lists
-----------------------------------------+----------------------------------
Reporter: andrea | Owner: andrea
Type: defect | Status: needs_review
Priority: major | Milestone: Tor: 0.2.3.x-final
Component: Tor | Version: Tor: 0.2.4.3-alpha
Keywords: tor-relay denial-of-service | Parent:
Points: | Actualpoints:
-----------------------------------------+----------------------------------
Comment(by andrea):
I have a new bug7191_v2 branch that changes the mid calculation to avoid
arithmetic overflow if len > max_int / 2, and eliminates one case that
turned out to be impossible. The improved test suite has 100% coverage of
this version with gcov.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7191#comment:20>
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