[tor-bugs] #27803 [Core Tor/Tor]: rust protover_all_supported() double-free of *missing_out
Tor Bug Tracker & Wiki
blackhole at torproject.org
Thu Sep 20 23:56:05 UTC 2018
#27803: rust protover_all_supported() double-free of *missing_out
-------------------------------------------------+-------------------------
Reporter: teor | Owner: (none)
Type: defect | Status: new
Priority: Medium | Milestone: Tor:
| 0.3.5.x-final
Component: Core Tor/Tor | Version: Tor:
| 0.3.3.1-alpha
Severity: Normal | Resolution:
Keywords: rust, protover, memory-safety, | Actual Points:
035-must, fast-fix, 033-backport, |
034-backport |
Parent ID: #27740 | Points:
Reviewer: | Sponsor:
-------------------------------------------------+-------------------------
Comment (by cyberpunks):
That's not true. The code calls [https://doc.rust-
lang.org/std/ffi/struct.CString.html#method.into_raw CString::into_raw()]
to prevent a double-free.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27803#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list