[tor-bugs] #17753 [Tor]: Use internal reputation variables to verify memory allocation
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri Dec 4 19:55:12 UTC 2015
#17753: Use internal reputation variables to verify memory allocation
-----------------------------+------------------------------
Reporter: cypherpunks | Owner:
Type: defect | Status: new
Priority: Low | Milestone:
Component: Tor | Version: Tor: unspecified
Severity: Minor | Keywords:
Actual Points: | Parent ID:
Points: | Sponsor:
-----------------------------+------------------------------
The reputation code (`rephist.c`) has internal variables to keep track on
the memory allocated by its objects. However, when the bandwidth arrays
are freed, it forgets to decrease the memory allocation counter. This
leads to discrepancy between the recorded and the actual amount of memory
that is allocated when the bandwidth arrays are reinitialized.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/17753>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list