[PHP-DEV] Bug #3413: setcookie() cause a GPF when the data is a array serialized From: ak <email protected>
Date: 02/05/00

From: ak <email protected>
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.

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>