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

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jan 23 01:02:23 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 cypherpunks):

 >       The fdopen() function  associates  a  stream  with  the  existing
 file
 >       descriptor,  fd.   The mode of the stream (one of the values "r",
 "r+",
 >       "w", "w+", "a", "a+") must be compatible with  the  mode  of  the
 file
 >       descriptor.

 Is

 >       a      Open for appending (writing at end of file).  The file  is
 cre‐
 >              ated  if it does not exist.  The stream is positioned at
 the end
 >              of the file.

 compatible with:

 > O_CREAT|O_TRUNC

 ?
 What happen if such file already exist?

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


More information about the tor-bugs mailing list