PHP 4.0 Bug #9487 Updated: POST using HTTP/1.0 HTTP/1.1 mix makes PHP crash
| From: | sniper@php.net | Date: | Tue, 10 Apr 2001 14:13:10 +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-51329@lists.php.net to get a copy of this message | ||
ID: 9487
Updated by: sniper
Reported By: dolecek@ics.muni.cz
Old-Status: Feedback
Status: Closed
Bug Type: Reproduceable crash
Assigned To:
Comments:
No feedback. If this happens also with soon to be released
PHP 4.0.5, reopen this bug report with proper GDB backtrace
PHP configured with --enable-debug
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-03-03 20:05:19] sniper@php.net
Please provide that whole backtrace.
--Jani
---------------------------------------------------------------------------
[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