Bug 710482 - Netcat should check return value of accept()
Summary: Netcat should check return value of accept()
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: nc
Version: rawhide
Hardware: All
OS: All
unspecified
medium
Target Milestone: ---
Assignee: Petr Šabata
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-03 14:07 UTC by Petr Šabata
Modified: 2011-06-03 14:55 UTC (History)
2 users (show)

Fixed In Version: nc-1.100-4.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-03 14:55:31 UTC
Type: ---


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.