[tor-bugs] #6877 [Tor Client]: Finally replace all char[] buffers with uint8_t[] buffers

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon Sep 17 13:49:49 UTC 2012


#6877: Finally replace all char[] buffers with uint8_t[] buffers
------------------------+---------------------------------------------------
 Reporter:  nickm       |          Owner:                    
     Type:  defect      |         Status:  new               
 Priority:  normal      |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor Client  |        Version:                    
 Keywords:              |         Parent:                    
   Points:              |   Actualpoints:                    
------------------------+---------------------------------------------------
 We started doing this a while back, and covered a lot of the more
 worrisome cases, but there's lots more to do.  Whenever we pass around a
 chunk of bytes, it should be as an array of an unsigned type.  Otherwise
 we'll keep getting bugs like #6861.

 This is going to have to go API by API, alas.

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


More information about the tor-bugs mailing list