Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #7422

Closed (moved)
Open
Opened Nov 09, 2012 by Roger Dingledine@arma

tor_cert_decode() memory leak

running on moria1 for a few hours:

==24953== 46,674 (2,560 direct, 44,114 indirect) bytes in 16 blocks are definitely lost in loss record 58 of 60
==24953==    at 0x4C244E8: malloc (vg_replace_malloc.c:236)
==24953==    by 0x226F77: tor_malloc_ (util.c:144)
==24953==    by 0x2285B5: tor_malloc_zero_ (util.c:170)
==24953==    by 0x236539: tor_cert_new (tortls.c:738)
==24953==    by 0x2377D7: tor_cert_decode (tortls.c:789)
==24953==    by 0x18B591: channel_tls_handle_var_cell (channeltls.c:1559)
==24953==    by 0x1CEDCF: connection_or_process_cells_from_inbuf (connection_or.c:1913)
==24953==    by 0x1C0D73: connection_handle_read (connection.c:2747)
==24953==    by 0x11CC30: conn_read_callback (main.c:721)
==24953==    by 0x52C9343: event_base_loop (in /usr/lib/libevent-1.4.so.2.1.3)
==24953==    by 0x11A5B0: do_main_loop (main.c:1987)
==24953==    by 0x11A96C: tor_main (main.c:2699)

This is Tor 0.2.4.5-alpha-dev (git-e1c7d12b1d91eea9) plus the one-liner patch from #7420 (moved) that shouldn't matter here.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Tor: 0.2.4.x-final
Milestone
Tor: 0.2.4.x-final
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#7422