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

Closed (moved)
(moved)
Open
Created Dec 09, 2016 by David Goulet@dgoulet🆘

Test: memory leak in single onion service test

Found by the expensive hardening:

hs/single_onion_poisoning_create_dir_none: [forking] 
=================================================================
==29309==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 102 byte(s) in 2 object(s) allocated from:
    #0 0x7f93a6775eb0 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.3+0xc6eb0)
    #1 0x7f93a41dcbf9 in __strdup (/lib/x86_64-linux-gnu/libc.so.6+0x8cbf9)

SUMMARY: AddressSanitizer: 102 byte(s) leaked in 2 allocation(s).
OK
hs/single_onion_poisoning_create_dir1: [forking] 
=================================================================
==29311==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 102 byte(s) in 2 object(s) allocated from:
    #0 0x7f93a6775eb0 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.3+0xc6eb0)
    #1 0x7f93a41dcbf9 in __strdup (/lib/x86_64-linux-gnu/libc.so.6+0x8cbf9)

SUMMARY: AddressSanitizer: 102 byte(s) leaked in 2 allocation(s).
OK
hs/single_onion_poisoning_create_dir2: [forking] 
=================================================================
==29313==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 102 byte(s) in 2 object(s) allocated from:
    #0 0x7f93a6775eb0 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.3+0xc6eb0)
    #1 0x7f93a41dcbf9 in __strdup (/lib/x86_64-linux-gnu/libc.so.6+0x8cbf9)

SUMMARY: AddressSanitizer: 102 byte(s) leaked in 2 allocation(s).
OK
hs/single_onion_poisoning_create_dir_both: [forking] 
=================================================================
==29315==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 102 byte(s) in 2 object(s) allocated from:
    #0 0x7f93a6775eb0 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.3+0xc6eb0)
    #1 0x7f93a41dcbf9 in __strdup (/lib/x86_64-linux-gnu/libc.so.6+0x8cbf9)

SUMMARY: AddressSanitizer: 102 byte(s) leaked in 2 allocation(s).
OK

Patch coming up.

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