[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs