|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16361 user can crash apache child entering incorrect session name
Submitted: 2002-03-30 11:58 UTC Modified: 2002-10-14 19:26 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: samm at os2 dot ru Assigned:
Status: No Feedback Package: Session related
PHP Version: 4.1.2 OS: Windows NT, OS/2
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.
Block user comment
Status: Assign to:
Bug Type:
From: samm at os2 dot ru
New email:
PHP Version: OS:


 [2002-03-30 11:58 UTC] samm at os2 dot ru
To reproduce bug do this test:
1) Turn off cookies at browser.
2) run file:
session_name ("SESSID");
session_set_cookie_params (3600); 
session_register("test"); //registring tracks variable. 
if (!isset($test)) $test=1;
echo '<a href="'.$PHP_SELF.'?SESSID='.session_id().'">test</a>';
echo '<br><a href="'.$PHP_SELF.'?SESSID=c:\123">test2</a>';
3) Click on a "test2" link
4) Apache child will crash and php will write message like
Warning: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0

Testes on OS/2 (PHP 4.1.2) and win32 (PHP 4.1.1). PHP is installed as Apache module.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-30 18:35 UTC]
Thanks for reporting, but this has been reported already. IIRC.

 [2002-03-30 21:35 UTC]
I've looked bug reports, but there is no exactly the same segfualt report. I'll keep this report open.

Cause is known and there are sevral reports already for the same cause, but different segfaults.
 [2002-09-26 16:30 UTC]
Please try using this CVS snapshot:
For Windows:

 [2002-10-14 19:26 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 17 01:01:29 2024 UTC