[tor-bugs] #5068 [Obfsproxy]: memory leak in obfsproxy when using weird args

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Fri Feb 10 06:56:34 UTC 2012


#5068: memory leak in obfsproxy when using weird args
-----------------------+----------------------------------------------------
 Reporter:  arma       |          Owner:  asn
     Type:  defect     |         Status:  new
 Priority:  normal     |      Milestone:     
Component:  Obfsproxy  |        Version:     
 Keywords:             |         Parent:     
   Points:             |   Actualpoints:     
-----------------------+----------------------------------------------------
 {{{
 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)
 }}}

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/5068>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list