Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • 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
  • #8070

Closed (moved)
(moved)
Open
Created Jan 28, 2013 by David Goulet@dgoulet🆘

Memory leaks on error in dead_pool.c

In parse_socks5_resolve_ptr_response() (dead_pool.c +325), the **result_hostname is allocated then passed to recv(). On error (r < 0) or with an orderly shutdown (r = 0) the memory is not freed causing the memory leak.

Here is a small patch fixing the leak.

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