[tor-bugs] #4921 [Pluggable transport]: obfsproxy: use asprintf

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon Jan 16 22:51:16 UTC 2012


#4921: obfsproxy: use asprintf
---------------------------------+------------------------------------------
 Reporter:  nickm                |          Owner:  asn
     Type:  enhancement          |         Status:  new
 Priority:  normal               |      Milestone:     
Component:  Pluggable transport  |        Version:     
 Keywords:                       |         Parent:     
   Points:                       |   Actualpoints:     
---------------------------------+------------------------------------------

Comment(by asn):

 I agree. I actually tried to get tor_asprintf() into obfsproxy while doing
 #4917, but I temporarily decided against it because I had to pull in lots
 of other src/common/util.c stuff, and also change the code to use
 obfsproxy functions (`obfs_assert` instead of `tor_assert`, etc.).

 I'll work on getting `tor_asprintf` into obfsproxy and change the current
 'malloc+snprintf'/'snprintf+strdup' instances to use it.

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


More information about the tor-bugs mailing list