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

[tor-bugs] #8206 [Tor]: Check return values from fcntl and setsockopt



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs