PHP 4.0 Bug #9487 Updated: POST using HTTP/1.0 HTTP/1.1 mix makes PHP crash

From: Date: Sun, 04 Mar 2001 01:05:19 +0000
Subject: PHP 4.0 Bug #9487 Updated: POST using HTTP/1.0 HTTP/1.1 mix makes PHP crash
Groups: php.dev 
Request: Send a blank email to php-dev+get-47888@lists.php.net to get a copy of this message
ID: 9487 Updated by: sniper Reported By: dolecek@ics.muni.cz Old-Status: Open Status: Feedback Bug Type: Reproduceable crash Assigned To: Comments: Please provide that whole backtrace. --Jani Previous Comments: --------------------------------------------------------------------------- [2001-02-27 16:39:25] dolecek@ics.muni.cz I'm using Apache 1.3.17, PHP 4.0.4pl1. Seems like PHP doesn't like some POST data if they are send via HTTP/1.0 and HTTP/1.1 in different requests. The script in question is like this (name: var.php): <FORM NAME="FORM_POST" ACTION="var.php" METHOD=POST> Form with POST:<INPUT TYPE=SUBMIT NAME="TEST" VALUE="+ìèøýáíé"> </FORM> The way to crash PHP: 1) in HTTP/1.0 browser (like Netscape 4.76), click on the submit button couple of times, enough so that the POST request got to each running httpd daemon 2) do HTTP/1.1 request, possibly via telnet, like: POST /var.php HTTP/1.1 Host: localhost Content-Length: 1 at this point, server should wait for the data, but it crashes instead. If I look at traceback in gdb, it crashes in _efree() (I can provide the exact backtrace if needed). If the bug is not repeatable for you and would need some more information, feel free to contact me. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9487&edit=2

« previous php.dev (#47888) next »