[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #17753 [Tor]: Use internal reputation variables to verify memory allocation
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs