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

[tor-bugs] #2253 [Tor Relay]: Logic error in update_certificate_downloads



#2253: Logic error in update_certificate_downloads
-----------------------+----------------------------------------------------
 Reporter:  rransom    |       Owner:  nickm           
     Type:  defect     |      Status:  new             
 Priority:  normal     |   Milestone:                  
Component:  Tor Relay  |     Version:  Tor: unspecified
 Keywords:             |      Parent:                  
-----------------------+----------------------------------------------------
 In current Git master, the `update_certificate_downloads` function in
 src/or/networkstatus.c contains the following code:
 {{{
   if (current_ns_consensus)
     authority_certs_fetch_missing(current_ns_consensus, now);
   if (current_ns_consensus)
     authority_certs_fetch_missing(current_md_consensus, now);
 }}}

 The second `if` statement should test `current_md_consensus`, not
 `current_ns_consensus`.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2253>
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