From:             valyala at tut dot by
Operating system: Win2k sp3
PHP version:      4.3.3
PHP Bug Type:     Reproducible crash
Bug description:  special POST or GET query crashes PHP under Windows

Description:
------------
this query strings crashes PHP under Windows:
1[]
437378[index]
232[index]=value&something_else

the query string must begins with any decimal number, following braces
with optional index string.

Sorry for my English :)

Reproduce code:
---------------
GET /any_php_script.php?1[] HTTP/1.1


Expected result:
----------------
If my script looks like this:
<?php
print_r($_GET);
?>

I expected:
Array
(
    [1] => Array
        (
            [0] => 
        )

)


Actual result:
--------------
No response headers received because request failed :
ERROR_INTERNET_CONNECTION_RESET

And windows shows error message: "Apache.exe has generated errors and will
be closed by Windows. You will need to restart the program"

-- 
Edit bug report at http://bugs.php.net/?id=25793&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=25793&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=25793&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=25793&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=25793&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=25793&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=25793&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=25793&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=25793&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=25793&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=25793&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=25793&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25793&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=25793&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=25793&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=25793&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=25793&r=float

Reply via email to