[tor-bugs] #27206 [Core Tor/Tor]: rust protover_all_supported() takes forever on some inputs
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri Sep 14 14:25:35 UTC 2018
#27206: rust protover_all_supported() takes forever on some inputs
-------------------------------------------------+-------------------------
Reporter: cyberpunks | Owner: (none)
Type: defect | Status:
| needs_review
Priority: Medium | Milestone: Tor:
| 0.3.5.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: rust, protover, 033-backport, | Actual Points:
034-backport |
Parent ID: | Points:
Reviewer: | Sponsor:
-------------------------------------------------+-------------------------
Comment (by cyberpunks):
Replying to [comment:3 teor]:
> So I don't think this is security-low, just slightly inefficient.
It creates a temporary `Vec` containing up to 4 billion integers,
actually, in order to call `.retain()` on it. The updated tests try to use
massive amounts of RAM without this change.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27206#comment:9>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list