Bug #3413: setcookie() cause a GPF when the data is a array serialized
| From: | ak at persocom dot com dot br | Date: | Sat, 05 Feb 2000 23:34:59 +0000 |
| Subject: | Bug #3413: setcookie() cause a GPF when the data is a array serialized | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-15227@lists.php.net to get a copy of this message | ||
From: ak@persocom.com.br
Operating system: Win95 and WinNT
PHP version: 3.0.14
PHP Bug Type: Reproduceable crash
Bug description: setcookie() cause a GPF when the data is a array serialized
The setcookie() cause a GPF then I call it with the cookie data returned from serialize() with more
than 5 or 6 elements in array...
This code crash the PHP 3.14 in Win95 and don't produce any result in WinNT, except for a
php.exe zumbie...
<?
$y=array("1","2","3","4","5","6","7","8");
$x=serialize($y);
setcookie("teste",$x,time()+3600);
?>
I get php 3.14 binary from normal mirror from php.net
I put the code directly in php, no by a web server, and the result is the same.
Configuration:
Win95b pentium 166 32mb
WinNT+SP6 96MB
PS. I try this in php 3.13 also, and the problem have too.