[php-src] PR #23656: [Session] destroy session file without an open descriptor
| From: | iliaal | Date: | Thu, 10 Sep 2026 22:13:50 +0000 |
| Subject: | [php-src] PR #23656: [Session] destroy session file without an open descriptor | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-38431@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/23656
Author: iliaal
The files save handler skipped unlink when the session file descriptor was -1, so destroy could
return success and leave the file on disk. It now closes if needed and unlinks the path, treating a
missing file as success.