php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7235 session_destroy() still does not unlink session object
Submitted: 2000-10-16 05:53 UTC Modified: 2000-10-16 06:36 UTC
From: taavi at ibs dot ee Assigned:
Status: Closed Package: Session related
PHP Version: 4.0.3pl1 OS: Windows2000
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: taavi at ibs dot ee
New email:
PHP Version: OS:

 

 [2000-10-16 05:53 UTC] taavi at ibs dot ee
Session_destroy() does not unlink session object.
Instead I get warning message stating:
"Session object destruction failed".

There is an open bug report #7055 for ver. 4.0.2 suggesting to add:
if (data->fd > -1) {
    close(data->fd);
    data->fd = -1;
}
before V_UNLINK(buf).

Does it help? If yes, would it be worth to add
this into next binary release? When?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-16 06:36 UTC] dbeu@php.net
fixed in cvs
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 12:01:28 2024 UTC