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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Sat May 11 20:01:31 2024 UTC