[tor-bugs] #3407 [Tor Client]: connection_printf_to_buf is crazypants bizarre!

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Thu Jun 16 16:39:46 UTC 2011


#3407: connection_printf_to_buf is crazypants bizarre!
------------------------+---------------------------------------------------
 Reporter:  rransom     |          Owner:  rransom           
     Type:  defect      |         Status:  needs_review      
 Priority:  normal      |      Milestone:  Tor: 0.2.2.x-final
Component:  Tor Client  |        Version:                    
 Keywords:              |         Parent:                    
   Points:              |   Actualpoints:                    
------------------------+---------------------------------------------------

Comment(by nickm):

 Hm.  At first I was going to suggest that this go into 0.2.3, but it looks
 like this is actually triggerable: just GETCONF a key that's exactly the
 right length.

 I don't think that send_control_event_impl change is right: it looks like
 that function actually _did_ ensure that its strings had a CRLF before
 sending to send_control_event_string, and that some of its callers rely on
 this feature: Look at conrol_event_general_status and the functions that
 call it.

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


More information about the tor-bugs mailing list