[BusyBox-cvs] [BusyBox 0000027]: patch: nc will spin if stdin closed

bugs at busybox.net bugs at busybox.net
Mon Jul 18 22:26:46 UTC 2005


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=27 
====================================================================== 
Reported By:                pgf
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   27
Category:                   Standards Compliance
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             01-17-2005 18:05 PST
Last Modified:              07-18-2005 15:26 PDT
====================================================================== 
Summary:                    patch: nc will spin if stdin closed
Description: 
if stdin to the nc command is closed before the network socket is finished,
then nc will spin, continuously being informed by select() of stdin's
closure.  this can easily happen if stdin is connected to /dev/null (for
instance if started from busybox init with no console).  usually this
isn't an issue, since shutting down the sending half of the socket will
cause the other end to close.  but this isn't always the case.

====================================================================== 

---------------------------------------------------------------------- 
 pgf - 07-18-05 15:23  
---------------------------------------------------------------------- 
svn 10853 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-17-05 18:05  pgf            New Issue                                    
01-17-05 18:05  pgf            File Added: spinning_nc.pat                    
03-16-05 12:26  andersen       Assigned To              andersen => BusyBox 
07-18-05 15:23  pgf            Status                   assigned => resolved
07-18-05 15:23  pgf            Resolution               open => fixed       
07-18-05 15:23  pgf            Note Added: 0000301                          
07-18-05 15:26  andersen       Status                   resolved => closed  
======================================================================




More information about the busybox-cvs mailing list