[tor-bugs] #8031 [Tor]: Assertion fast_memeq(md->body, "onion-key", 9) failed;

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Jan 26 22:20:52 UTC 2013


#8031: Assertion fast_memeq(md->body, "onion-key", 9) failed;
---------------------------------------+------------------------------------
 Reporter:  cypherpunks                |          Owner:                    
     Type:  defect                     |         Status:  new               
 Priority:  normal                     |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor                        |        Version:  Tor: 0.2.4.6-alpha
 Keywords:  tor-relay assertion crash  |         Parent:                    
   Points:                             |   Actualpoints:                    
---------------------------------------+------------------------------------

Comment(by nickm):

 Hm.  Looking at what's different here from the non-md case:

 1) We're using stdio.  stdio has buffering.  Maybe we shouldn't be using
 stdio.

 2) We're asserting on failure.  That's *definitely* stupid.  Even if we
 can't figure out how to get the file corruption to go away in all cases,
 we can definitely try to make this not be an assertion.

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


More information about the tor-bugs mailing list