PHP 4.0 Bug #7055 Updated: session_destroy bug
| From: | dbeu@php.net | Date: | Mon, 16 Oct 2000 10:35:09 +0000 |
| Subject: | PHP 4.0 Bug #7055 Updated: session_destroy bug | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35110@lists.php.net to get a copy of this message | ||
ID: 7055
Updated by: dbeu
Reported By: kufan@mail.formosoft.com
Status: Closed
Bug Type: *Session related
Assigned To:
Comments:
fixed in cvs
Previous Comments:
---------------------------------------------------------------------------
[2000-10-06 12:21:30] kufan@mail.formosoft.com
session_destroy doesn't because it call unlink before the file handle closed()
add :
if (data->fd > -1) {
close(data->fd);
data->fd = -1;
}
before V_UNLINK(buf) will fix the bug.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7055