Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Tor Tor
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 316
    • Issues 316
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 36
    • Merge requests 36
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • Core
  • TorTor
  • Issues
  • #40260
Closed
Open
Created Jan 26, 2021 by Nick Mathewson@nickm🐻Owner

Memory leak in extorport/handshake

extorport/handshake: [forking] 
=================================================================
==2616411==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 320 byte(s) in 1 object(s) allocated from:
    #0 0x55861578160f in malloc (/home/nickm/src/tor-wkt/master/src/test/test+0x59860f)
    #1 0x55861604582e in tor_malloc_ /home/nickm/src/tor/src/lib/malloc/malloc.c:45:12
    #2 0x55861604582e in tor_malloc_zero_ /home/nickm/src/tor/src/lib/malloc/malloc.c:71:18
    #3 0x558615f654d5 in or_connection_new /home/nickm/src/tor/src/core/mainloop/connection.c:579:30
    #4 0x558615a63669 in test_ext_or_handshake /home/nickm/src/tor/src/test/test_extorport.c:444:10
    #5 0x558615cc907e in testcase_run_bare_ /home/nickm/src/tor/src/ext/tinytest.c:107:2
    #6 0x558615cc907e in testcase_run_forked_ /home/nickm/src/tor/src/ext/tinytest.c:201:12

I'm bisecting now.

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