[tor-bugs] #5957 [Tor Client]: Our GetFileSize usage doesn't detect errors or handle 64-bit files

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Thu May 24 14:19:43 UTC 2012


#5957: Our GetFileSize usage doesn't detect errors or handle 64-bit files
------------------------+---------------------------------------------------
 Reporter:  nickm       |          Owner:                    
     Type:  defect      |         Status:  new               
 Priority:  normal      |      Milestone:  Tor: 0.2.2.x-final
Component:  Tor Client  |        Version:                    
 Keywords:              |         Parent:                    
   Points:              |   Actualpoints:                    
------------------------+---------------------------------------------------
 When we are about to map a file on windows, we use GetFileSize to find out
 how big it is.  But GetFileSize as we're using it doesn't return a 64-bit
 value, and we aren't checking for error cases.  Better fix that.

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


More information about the tor-bugs mailing list