[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#5068: memory leak in obfsproxy when using weird args
-----------------------+----------------------------------------------------
 Reporter:  arma       |          Owner:  asn         
     Type:  defect     |         Status:  needs_review
 Priority:  normal     |      Milestone:              
Component:  Obfsproxy  |        Version:              
 Keywords:             |         Parent:              
   Points:             |   Actualpoints:              
-----------------------+----------------------------------------------------
Changes (by blackpaw):

  * status:  new => needs_review


Comment:

 I wrote one line of code and now Valgrind has no complaints.

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




 {{{
 ==11227==
 2012-02-12 12:22:48 [warn] obfs2: Unknown argument '--log-file=logfile'.
 2012-02-12 12:22:48 [warn] You failed at creating a correct obfs2 line.
 ...
 ==11227==
 ==11227== HEAP SUMMARY:
 ==11227==ÂÂÂÂ in use at exit: 0 bytes in 0 blocks
 ==11227==ÂÂ total heap usage: 13 allocs, 13 frees, 3,197 bytes allocated
 ==11227==
 ==11227== All heap blocks were freed -- no leaks are possible
 ==11227==
 }}}

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/5068#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs