php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3413 setcookie() cause a GPF when the data is a array serialized
Submitted: 2000-02-05 18:34 UTC Modified: 2000-02-06 09:42 UTC
From: ak at persocom dot com dot br Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 3.0.14 OS: Win95 and WinNT
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ak at persocom dot com dot br
New email:
PHP Version: OS:

 

 [2000-02-05 18:34 UTC] ak at persocom dot com dot br
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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-02-06 09:42 UTC] thies at cvs dot php dot net
fixed in PHP 3 & PHP 4 CVS
thanx
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Mon Oct 12 08:00:02 2026 UTC