[tor-bugs] #2332 [Tor Relay]: dnsserv_resolved has needless casts, unused strndup.

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Tue Jan 11 13:24:14 UTC 2011


#2332: dnsserv_resolved has needless casts, unused strndup.
-----------------------+----------------------------------------------------
 Reporter:  rransom    |       Owner:                    
     Type:  defect     |      Status:  needs_review      
 Priority:  major      |   Milestone:  Tor: 0.2.1.x-final
Component:  Tor Relay  |     Version:                    
 Keywords:  easy       |      Parent:                    
-----------------------+----------------------------------------------------

Comment(by cypherpunks):

 Why
 {{{
 answer_len < 256
 }}}
 missed for answer_type == RESOLVED_TYPE_HOSTNAME.
 Is it reserved ext? Tor going to implement non exist rfc for DNS stuff?

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


More information about the tor-bugs mailing list