[tor-bugs] #28852 [Core Tor/Tor]: Remove memset() from get_token_arguments.
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri Dec 14 19:43:56 UTC 2018
#28852: Remove memset() from get_token_arguments.
------------------------------+---------------------------------
Reporter: nickm | Owner: nick,m
Type: defect | Status: assigned
Priority: Medium | Milestone: Tor: 0.4.0.x-final
Component: Core Tor/Tor | Version: Tor: 0.3.4.9
Severity: Normal | Keywords: startup performance
Actual Points: | Parent ID: #28481
Points: | Reviewer:
Sponsor: Sponsor8-can |
------------------------------+---------------------------------
After other changes in the parent ticket, about 2% of our startup time is
calling memset() in get_token_arguments. This memset() is completely
unnecessary if the rest of the function is written correctly (which it
is).
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28852>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list