[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #2184 [Tor Relay]: Allocate enough memory for extra-info descriptor
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs