#30046 [Fbk]: Apache crashes when $_COOKIE[] is accessed
| From: | tony2001@php.net | Date: | Fri, 10 Sep 2004 07:32:07 +0000 |
| Subject: | #30046 [Fbk]: Apache crashes when $_COOKIE[] is accessed | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-65985@lists.php.net to get a copy of this message | ||
ID: 30046
Updated by: tony2001@php.net
Reported By: verbert_p at hotmail dot com
Status: Feedback
Bug Type: Apache2 related
Operating System: Win XP SP2
PHP Version: 5.0.1
New Comment:
IIRC this was fixed before, so plz try latest snapshot first.
Previous Comments:
------------------------------------------------------------------------
[2004-09-10 09:21:58] derick@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
And of course, your code is just plain wrong.
------------------------------------------------------------------------
[2004-09-10 08:51:00] ante dot dfg at moj dot net
I can also confirm this bug on Win XP under Apache 1.3.31 using release
version of php 5.0.1...
Reproduce code
[PHP]
if(isset($_COOKIE[]))
print ("Coookie");
[/PHP]
After runing the script Apache 1.3.31 craches...
------------------------------------------------------------------------
[2004-09-10 04:19:04] verbert_p at hotmail dot com
Description:
------------
When I address $_COOKIE[] instead of $_COOKIE['name'], apache (2.0.50
win32) crashes. this problem does not exist on apache 2.0.48 / php
4.3.4
Reproduce code:
---------------
if (isset ($_COOKIE[])) { ... }
Expected result:
----------------
false / true
Actual result:
--------------
apache crash
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30046&edit=1