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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-16 06:36 UTC] dbeu@php.net
fixed in cvs
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 13 23:01:33 2025 UTC