#25127: Rust implementation of protover_get_supported_protocols() leaks memory
----------------------------------+------------------------------------
 Reporter:  nickm                 |          Owner:  (none)
     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 nickm):

 * cc: chelseakomlo (added)


Comment:

 I think we could use some Rust guidance about what's the right way to do
 this.  We could maybe make a singleton copy of the string?  And then free
 it on exit somehow?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25127#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Reply via email to