[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs