[tor-bugs] #2328 [Tor Client]: addressmap_get_virtual_address insanity

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Wed Dec 29 13:17:32 UTC 2010


#2328: addressmap_get_virtual_address insanity
------------------------+---------------------------------------------------
 Reporter:  rransom     |       Owner:     
     Type:  defect      |      Status:  new
 Priority:  major       |   Milestone:     
Component:  Tor Client  |     Version:     
 Keywords:              |      Parent:     
------------------------+---------------------------------------------------
 From #tor:
 > 2010-12-29 05:13 <doorss> "if (type == RESOLVED_TYPE_IPV4)" "return
 tor_strdup(buf)" buf inited?
 `buf` is not initialized there.
 > 2010-12-29 05:15 <doorss> addressmap_get_virtual_address() is fragile in
 result. no documented that null can returned. No one caller waiting for
 that.

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


More information about the tor-bugs mailing list