php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26089 Non existing session savepath cores in combination with error handler
Submitted: 2003-11-02 20:30 UTC Modified: 2003-11-17 18:16 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: php at trancer dot nl Assigned:
Status: No Feedback Package: Session related
PHP Version: 4.3.4RC3 OS: Win32
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2003-11-02 20:30 UTC] php at trancer dot nl
Description:
------------
The following code makes my apache segfault in case I dont have the dir specified in session.save_path:

http://nopaste.php.cd/4261

This is a hardly hacked version of the code of Peter James from PHPMag. I have to call all the functions (even the 
ones with an empty body) in order to generate this crash.

I am running Apache/1.3.28 (Win32) PHP/4.3.4RC3

This work too with other errors, but I havent figured that out yet, recently I did have a lot of crashing though (developing on 4.3.3)


Reproduce code:
---------------
http://nopaste.php.cd/4261

Expected result:
----------------
Seeing nothing.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-11-03 18:48 UTC] sniper@php.net
Can you explain 'in case I dont have the dir specified in session.save_path', do you mean: "crashes when the actual directory does not exist in the filesystem" or do you mean: "crashes when I set the ini value to empty string" ??

And the script in that url does not cause any crashes either way. (please, give a FULL script, not just part of it)

 [2003-11-17 18:16 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jul 17 14:01:29 2024 UTC