[php-src] PR #24101: ext/standard: Check opened copy endpoints before truncation
| From: | iliaal | Date: | Sat, 03 Oct 2026 15:35:29 +0000 |
| Subject: | [php-src] PR #24101: ext/standard: Check opened copy endpoints before truncation | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-39110@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/24101
Author: iliaal
Compare opened plain-file copy endpoints before truncating the destination, preventing a newly
resolved destination alias from erasing the source. Preserve other wrappers' opening mode and
avoid truncating devices.