php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14945 session_set_save_handler causes crashes
Submitted: 2002-01-09 05:30 UTC Modified: 2002-01-24 23:50 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: kjartan at zind dot net Assigned:
Status: Closed Package: Session related
PHP Version: 4.1.1 OS: Windows 2000
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: kjartan at zind dot net
New email:
PHP Version: OS:

 

 [2002-01-09 05:30 UTC] kjartan at zind dot net
When PHP is loaded as an Apache module on Windows it causes some strange crashes. Works fine with IIS and cgi setups.

If there is not existing active session Apache will crash once session_start() is called with the error: The instruction at "0x0058463" referenced memory at "0x04da8610". The memory could not be "read".

Using the PHP default file based sessions work fine, but only if session.save_handler is set to files. Using session_start() without a session_set_save_handler() will crash php if session.save_handler is set to user. Would be better if it reported an error message.

If there is an existing valid session PHP works fine and there are no problems.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-09 09:07 UTC] yohgaki@php.net
Dup of #14497
 [2002-01-24 23:50 UTC] yohgaki@php.net
I think this is fixed in CVS version.
If you could try current 4.2.0-dev and still have problem, please reopen this report.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 20 19:01:33 2024 UTC