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: dave@php.net Assigned:
Status: Closed Package: Session related
PHP Version: 5.1.4 OS:
Private report: No CVE-ID: None
 [2006-08-02 01:59 UTC] dave@php.net
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

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-08-02 09:16 UTC] tony2001@php.net
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-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 04:01:31 2024 UTC