[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    [BusyBox] [BusyBox 0000185]: httpd infinite loop when piping to CGI
From:       bugs () busybox ! net
Date:       2005-03-23 10:28:22
Message-ID: 5b941df4ce04054475ece9dd506abbb6 () busybox ! net
[Download RAW message or body]

The following issue has been SUBMITTED.
======================================================================
<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:                     assigned
======================================================================
Date Submitted:             03-23-2005 02:28 PST
Last Modified:              03-23-2005 02:28 PST
======================================================================
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.

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

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 
                  
======================================================================



_______________________________________________
busybox mailing list
busybox@mail.busybox.net
http://codepoet.org/mailman/listinfo/busybox


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic