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
  • #26933

Closed (moved)
(moved)
Open
Created Jul 25, 2018 by George Kadianakis@asn

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