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

[tor-bugs] #4530 [Tor Client]: tor_addr_port_lookup(): addr_out filled with random bytes if transient failure



#4530: tor_addr_port_lookup(): addr_out filled with random bytes if transient
failure
------------------------+---------------------------------------------------
 Reporter:  troll_un    |          Owner:     
     Type:  defect      |         Status:  new
 Priority:  normal      |      Milestone:     
Component:  Tor Client  |        Version:     
 Keywords:  easy        |         Parent:     
   Points:              |   Actualpoints:     
------------------------+---------------------------------------------------
 tor_addr_port_lookup() wrongly detect errors of tor_addr_lookup().
 {{{
 if (tor_addr_lookup(tmp, AF_UNSPEC, &addr) < 0)
 }}}
 tor_addr_lookup() returns non negative (return 1) on transient failure,
 that leaves addr as non inited. tor_addr_copy(addr_out, &addr) filling
 addr_out with random bytes.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/4530>
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