[tor-bugs] #2337 [- Select a component]: Check for signed size_t during configure

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Thu Dec 30 16:11:35 UTC 2010


#2337: Check for signed size_t during configure
----------------------------------+-----------------------------------------
 Reporter:  Sebastian             |       Owner:     
     Type:  defect                |      Status:  new
 Priority:  normal                |   Milestone:     
Component:  - Select a component  |     Version:     
 Keywords:                        |      Parent:     
----------------------------------+-----------------------------------------
 Our code breaks badly in a few places when size_t is signed. Apparently
 this can happen with an old gcc, and maybe even with a few other
 compilers. For now I think we should add a configure check, and only if it
 turns out that anyone important is actually affected make sure that we can
 handle it.

 Discovered by doorss, analyzed with help from rransom

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


More information about the tor-bugs mailing list