[tor-bugs] #25127 [Core Tor/Tor]: Rust implementation of protover_get_supported_protocols() leaks memory

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Feb 2 22:22:39 UTC 2018


#25127: Rust implementation of protover_get_supported_protocols() leaks memory
----------------------------------+------------------------------------
 Reporter:  nickm                 |          Owner:  Hello71
     Type:  defect                |         Status:  new
 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:
----------------------------------+------------------------------------
Changes (by Hello71):

 * status:  assigned => new


Comment:

 I will not do this. :)

 It would be best to join with " " at compile time, but I don't know if
 that's even possible with Rust macros. Alternatively, import lazy_static,
 but I got yelled at last time I was asking about TOR_RUST_DEPENDENCIES.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25127#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list