[tor-bugs] #2337 [Tor Client]: Check for signed size_t during configure

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Thu Dec 30 17:02:42 UTC 2010


#2337: Check for signed size_t during configure
------------------------+---------------------------------------------------
 Reporter:  Sebastian   |       Owner:                    
     Type:  defect      |      Status:  new               
 Priority:  normal      |   Milestone:  Tor: 0.2.2.x-final
Component:  Tor Client  |     Version:                    
 Keywords:              |      Parent:                    
------------------------+---------------------------------------------------

Comment(by Sebastian):

 While we're at it: Platforms with a 128 bits wide long long are an issue
 too:

 #define INT64_MAX 0x7fffffffffffffffll
 #define SSIZE_T_MAX INT64_MAX
 #define SIZE_T_CEILING (SSIZE_T_MAX-16)

 thanks to doorss again

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


More information about the tor-bugs mailing list