[tor-bugs] #2332 [Tor Relay]: dnsserv_resolved has needless casts, unused strndup.
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Sat Jan 15 17:35:11 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 arma):
bug2332_part2 looks fine.
It also looks harmless, since the evdns_* functions don't modify the
string passed in? Or are there libevent versions that do and sometimes we
call their functions instead?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2332#comment:8>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list