[tor-bugs] #6225 [Tor Relay]: "get_string_from_pipe: Assertion len>0 failed; aborting." in log_from_pipe() for tor-fw-helper
    Tor Bug Tracker & Wiki 
    torproject-admin at torproject.org
       
    Mon Jun 25 05:00:34 UTC 2012
    
    
  
#6225: "get_string_from_pipe: Assertion len>0 failed; aborting." in
log_from_pipe() for tor-fw-helper
-----------------------+----------------------------------------------------
 Reporter:  asn        |          Owner:                    
     Type:  defect     |         Status:  needs_review      
 Priority:  normal     |      Milestone:  Tor: 0.2.3.x-final
Component:  Tor Relay  |        Version:                    
 Keywords:             |         Parent:  #5557             
   Points:             |   Actualpoints:                    
-----------------------+----------------------------------------------------
Comment(by andrea):
 Allow me to amend my previous remarks.  The old version never wrote the
 NUL because the write() in tor_spawn_background() only ever wrote
 HEX_ERRNO_SIZE bytes and the NUL was always past that.  *sigh*
 Anyway, yeah, your fix looks like it nails that.
-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6225#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
    
    
More information about the tor-bugs
mailing list