php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38289 session_decode()/$_SESSION problem
Submitted: 2006-08-02 01:59 UTC Modified: 2006-08-02 09:16 UTC
From: [email protected] Assigned:
Status: Closed Package: Session related
PHP Version: 5.1.4 OS:
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: [email protected]
New email:
PHP Version: OS:

 

 [2006-08-02 01:59 UTC] [email protected]
Description:
------------
session_decode() core dumps if $_SESSION is set to null before calling it.

Reproduce code:
---------------
<?php

session_start();
$_SESSION = null;
session_decode('a|i:2;');

?>


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-08-02 09:16 UTC] [email protected]
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Dec 31 06:00:02 2025 UTC