[tor-bugs] #3039 [Tor Client]: git 29e0d708 broke LastWritten state entry

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Fri Apr 29 00:15:22 UTC 2011


#3039: git 29e0d708 broke LastWritten state entry
------------------------+---------------------------------------------------
 Reporter:  arma        |          Owner:                     
     Type:  defect      |         Status:  new                
 Priority:  major       |      Milestone:  Tor: 0.2.2.x-final 
Component:  Tor Client  |        Version:  Tor: 0.2.2.14-alpha
 Keywords:              |         Parent:                     
   Points:              |   Actualpoints:                     
------------------------+---------------------------------------------------
 In Tor 0.2.2.14-alpha, we added two bugs:

 A) The LastWritten element of our state became the time of the *previous*
 time we wrote the file, rather than the time of this writing

 B) When we fail to write the state file, we set LastWritten to -1, which
 is no good when we hand it to format_iso_time() in read_bandwidth_usage().

 This bug was discovered while looking at #2077.

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


More information about the tor-bugs mailing list