[tor-bugs] #10259 [Tor]: gcc 4.8 with CFLAGS=-Os generates infinite loop in smartlist_ensure_capacity()

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Dec 1 07:10:21 UTC 2013


#10259: gcc 4.8 with CFLAGS=-Os generates infinite loop in
smartlist_ensure_capacity()
--------------------------+--------------------------------
     Reporter:  zougloub  |      Owner:  nick
         Type:  defect    |     Status:  new
     Priority:  normal    |  Milestone:
    Component:  Tor       |    Version:  Tor: 0.2.5.1-alpha
   Resolution:            |   Keywords:  compiler
Actual Points:            |  Parent ID:
       Points:            |
--------------------------+--------------------------------

Comment (by zougloub):

 Got help from o11c and pinskia from #gcc at OFTC.
 They reduced the code into a minimal shell that reproduces the problem:
 https://gist.github.com/o11c/7729355

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


More information about the tor-bugs mailing list