[tor-bugs] #5068 [Obfsproxy]: memory leak in obfsproxy when using weird args
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Sun Feb 12 18:34:02 UTC 2012
#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
More information about the tor-bugs
mailing list