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

[tor-bugs] #5891 [Tor Directory Authority]: rep_hist_desc_stats_write() segfaults on empty stats



#5891: rep_hist_desc_stats_write() segfaults on empty stats
-------------------------------------+--------------------------------------
 Reporter:  ln5                      |          Owner:                    
     Type:  defect                   |         Status:  new               
 Priority:  normal                   |      Milestone:  Tor: 0.2.3.x-final
Component:  Tor Directory Authority  |        Version:                    
 Keywords:                           |         Parent:                    
   Points:                           |   Actualpoints:                    
-------------------------------------+--------------------------------------
 The fix for #5508 wasn't complete -- returning NULL from
 rep_hist_format_desc_stats() makes rep_hist_desc_stats_write()
 segfault.

 rep_hist_format_desc_stats() already returned NULL when
 !start_of_served_descs_stats_interval but that probably doesn't happen
 very often.

 NOTE: This code is run only by bridge authoritatives.

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