[BusyBox-cvs] [BusyBox 0000185]: httpd infinite loop when piping to CGI script

bugs at busybox.net bugs at busybox.net
Sun Jul 31 22:34:50 UTC 2005


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=185 
====================================================================== 
Reported By:                mb
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   185
Category:                   Networking Support
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             03-23-2005 02:28 PST
Last Modified:              07-31-2005 15:34 PDT
====================================================================== 
Summary:                    httpd infinite loop when piping to CGI script
Description: 
BusyBox's httpd can enter an infinite loop if it pipes data for a POST
request to a CGI script and that script doesn't read the full request but
closes the pipe instead. This is due to a missing error check in httpd
when writing data to the pipe.

The attached patch fixes the problem.

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

---------------------------------------------------------------------- 
 pgf - 07-20-05 11:43  
---------------------------------------------------------------------- 
Committed revision 10877. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-23-05 02:28  mb             New Issue                                    
03-23-05 02:28  mb             File Added: busybox-httpd-cgi-error-handling.diff
                   
07-20-05 11:43  pgf            Status                   assigned => resolved
07-20-05 11:43  pgf            Resolution               open => fixed       
07-20-05 11:43  pgf            Note Added: 0000319                          
07-31-05 15:34  vapier         Status                   resolved => closed  
======================================================================




More information about the busybox-cvs mailing list