[php-src] PR #18797: Fix GH-14506: Closing a userspace stream inside a userspace handler causes heap corruption
| From: | nielsdos | Date: | Sat, 07 Jun 2025 13:42:31 +0000 |
| Subject: | [php-src] PR #18797: Fix GH-14506: Closing a userspace stream inside a userspace handler causes heap corruption | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-32010@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/18797
Author: nielsdos
Use the PHP_STREAM_FLAG_NO_FCLOSE flag to prevent closing a stream while a handler is running. We
already do this in some other places as well. Only handlers that do something with the stream
afterwards need changes.