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

Closed
Open
Created Feb 10, 2012 by Roger Dingledine@arma

memory leak in obfsproxy when using weird args

valgrind --leak-check=yes ./obfsproxy obfs2 --log-file=logfile --dest=127.0.0.1:9009 server 0.0.0.0:1051

reports

[warn] obfs2: Unknown argument '--log-file=logfile'.
[warn] You failed at creating a correct obfs2 line.

but also

==9488== 144 (16 direct, 128 indirect) bytes in 1 blocks are definitely lost in loss record 2 of 2
==9488==    at 0x4C244E8: malloc (vg_replace_malloc.c:236)
==9488==    by 0x406883: xmalloc (util.c:57)
==9488==    by 0x40852A: smartlist_create (container.c:27)
==9488==    by 0x40B305: launch_external_proxy (external.c:28)
==9488==    by 0x402427: obfs_main (main.c:262)
==9488==    by 0x542CC8C: (below main) (libc-start.c:228)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking