[tor-bugs] #8206 [Tor]: Check return values from fcntl and setsockopt
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Feb 11 20:28:17 UTC 2013
#8206: Check return values from fcntl and setsockopt
----------------------------+-----------------------------------------------
Reporter: nickm | Owner:
Type: defect | Status: new
Priority: minor | Milestone: Tor: 0.2.4.x-final
Component: Tor | Version:
Keywords: tor-relay easy | Parent:
Points: | Actualpoints:
----------------------------+-----------------------------------------------
These functions are allowed to fail, though in practice they won't (at
least, not the way we're using them). Still, our failure to check the
return values makes some tools (Coverity scan) unhappy. Let's clean up
false positives by checking our 12 unchecked fcntls and our one unchecked
setsockopt.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/8206>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list