[php-src] PR #25401: ext/standard: fix use-after-free and resource reuse from `write_seek_mode`
| From: | DanielEScherzer | Date: | Wed, 11 Nov 2026 19:17:18 +0000 |
| Subject: | [php-src] PR #25401: ext/standard: fix use-after-free and resource reuse from `write_seek_mode` | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-40556@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/25401
Author: DanielEScherzer
When converting an object into a string for
write_seek_mode, don't allow the
target stream to be closed, otherwise it could trigger a use-after-free or silently reuse the
stream.