[tor-bugs] #1074 [Tor Client]: Tor sends clock_skew status event warn too liberally

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon Feb 28 14:35:32 UTC 2011


#1074: Tor sends clock_skew status event warn too liberally
---------------------------+------------------------------------------------
    Reporter:  arma        |       Owner:  AltF4           
        Type:  defect      |      Status:  reopened        
    Priority:  minor       |   Milestone:  Tor: unspecified
   Component:  Tor Client  |     Version:  0.2.1.19        
  Resolution:              |    Keywords:                  
      Parent:              |      Points:                  
Actualpoints:              |  
---------------------------+------------------------------------------------

Comment(by Sebastian):

 Indeed, this is exactly what happens (which leads to a segfault if either
 we have the wrong time or someone lies to us about the time).

 {{{
       const routerstatus_t *any_trusted_dir =
         router_pick_trusteddirserver(NO_AUTHORITY, 0);
       tor_addr_t trusted_dir_addr;
       tor_addr_from_ipv4h(&trusted_dir_addr, any_trusted_dir->addr);
 }}}

 is where the segfault happens.

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


More information about the tor-bugs mailing list