[tor-bugs] #2184 [Tor Relay]: Allocate enough memory for extra-info descriptor

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sat Nov 13 19:35:34 UTC 2010


#2184: Allocate enough memory for extra-info descriptor
-----------------------+----------------------------------------------------
 Reporter:  karsten    |       Owner:                     
     Type:  defect     |      Status:  new                
 Priority:  normal     |   Milestone:                     
Component:  Tor Relay  |     Version:  Tor: 0.2.2.17-alpha
 Keywords:             |      Parent:                     
-----------------------+----------------------------------------------------
 When we added directory byte histories in db94b7f, we didn't extend the
 extra-info descriptor size. We allocate 8332 bytes for bandwidth histories
 in rep_hist_get_bandwidth_lines(), but only 8192 bytes for the total
 extra-info descriptor in router_rebuild_descriptor(). We should extend
 this size to 16384 bytes. Bug found by boboper.

 See branch extrainfosize in my public repository that should be merged
 into maint-0.2.2 and master.

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


More information about the tor-bugs mailing list