[tor-bugs] #5141 [Obfsproxy]: obfsproxy Segmentation fault on incomplete command line

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Wed Feb 15 17:01:01 UTC 2012


#5141: obfsproxy Segmentation fault on incomplete command line
-----------------------+----------------------------------------------------
 Reporter:  murble     |          Owner:  asn
     Type:  defect     |         Status:  new
 Priority:  normal     |      Milestone:     
Component:  Obfsproxy  |        Version:     
 Keywords:             |         Parent:     
   Points:             |   Actualpoints:     
-----------------------+----------------------------------------------------
 gdb obfsproxy
 [...]
 run obfs2 --dest=127.0.0.1:666 server
 Program received signal SIGSEGV, Segmentation fault.
 0x000000000040820b in xstrdup (s=0x0) at src/util.c:100
 100       return xmemdup(s, strlen(s) + 1);
 (gdb) bt
 #0  0x000000000040820b in xstrdup (s=0x0) at src/util.c:100
 #1  0x000000000040835d in resolve_address_port (address=0x0, nodns=1,
     passive=1, default_port=0x4113e4 "11253") at src/util.c:172
 #2  0x0000000000409c43 in parse_and_set_options (n_options=2,
     options=0x7fffffffe348, cfg=0x616160) at src/protocols/obfs2.c:222
 #3  0x0000000000409829 in obfs2_config_create (n_options=2,
     options=0x7fffffffe338) at src/protocols/obfs2.c:107
 #4  0x0000000000406503 in config_create (n_options=3,
 options=0x7fffffffe330)
     at src/protocol.c:49
 #5  0x000000000040f466 in launch_external_proxy (begin=0x7fffffffe330)
     at src/external.c:58
 #6  0x0000000000402c77 in obfs_main (argc=4, argv=0x7fffffffe328)
     at src/main.c:296
 #7  0x0000000000402524 in main (argc=4, argv=0x7fffffffe328)
     at src/obfs_main.c:23

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


More information about the tor-bugs mailing list