Skip to content
GitLab
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 325
    • Issues 325
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 30
    • Merge requests 30
  • 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
  • #26933
Closed
Open
Issue created Jul 25, 2018 by George Kadianakis@asnContributor

Minor memleak in HSv3 configuration

I ran my HSv3 under valgrind for a while. I didn't find anything major.

The only interesting thing I could find is this leaked string during service configuration:

==13380== 26 bytes in 1 blocks are still reachable in loss record 545 of 654
==13380==    at 0x4C2BC20: malloc (vg_replace_malloc.c:296)
==13380==    by 0x2EB977: tor_malloc_ (util_malloc.c:45)
==13380==    by 0x2D6946: esc_for_log (util.c:605)
==13380==    by 0x2D6C3D: escaped (util.c:677)
==13380==    by 0x26D26C: config_generic_service (hs_config.c:372)
==13380==    by 0x26D26C: config_service (hs_config.c:471)
==13380==    by 0x26D26C: hs_config_service_all (hs_config.c:555)
==13380==    by 0x206996: options_validate (config.c:4384)
==13380==    by 0x20AB2F: options_init_from_string (config.c:5497)
==13380==    by 0x20B170: options_init_from_torrc (config.c:5273)
==13380==    by 0x15B7BC: tor_init (main.c:3524)
==13380==    by 0x15C23C: tor_run_main (main.c:4239)
==13380==    by 0x1557A9: tor_main (tor_api.c:84)
==13380==    by 0x155518: main (tor_main.c:32)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking