Bug 710482

Summary: Netcat should check return value of accept()
Product: [Fedora] Fedora Reporter: Petr Šabata <psabata>
Component: ncAssignee: Petr Šabata <psabata>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: psabata, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: nc-1.100-4.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-03 14:55:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Petr Šabata 2011-06-03 14:07:23 UTC
Description of problem:
Netcat doesn't check accept() return value or errno, using the returned FD afterwards.

Version-Release number of selected component (if applicable):
1.100

Additional info:
netcat.c:357-360