Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #25127

Closed (moved)
(moved)
Open
Created Feb 02, 2018 by Nick Mathewson@nickm🏃

Rust implementation of protover_get_supported_protocols() leaks memory

The src/rust/protover/ffi.rs version of protover_get_supported_protocols returns a newly allocated char*. But the C version of it returns a const char *, and doesn't allocate. This difference causes a memory leak when the C code uses the rust.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking