[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:48:05 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):
Ah. It doesn't modify, but the problem is that the thing being passed in
is not nul terminated.
In that case, bug2332_part2 looks fine.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2332#comment:9>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list