[tor-bugs] #25127 [Core Tor/Tor]: Rust implementation of protover_get_supported_protocols() leaks memory
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Feb 7 00:02:07 UTC 2018
#25127: Rust implementation of protover_get_supported_protocols() leaks memory
----------------------------------+------------------------------------
Reporter: nickm | Owner: isis
Type: defect | Status: assigned
Priority: Medium | Milestone: Tor: 0.3.3.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: rust, protover, leak | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
----------------------------------+------------------------------------
Comment (by catalyst):
I found [https://docs.rs/c_str_macro/1.0.2/c_str_macro/macro.c_str.html
c_str_macro] which looks like it might help eliminate the explicit NUL in
the string literal. I'm not sure if we want to depend on that crate
though.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25127#comment:13>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list