[php-src] PR #24099: ext/standard: Reject incomplete sha1_file reads
| From: | iliaal | Date: | Sat, 03 Oct 2026 15:02:24 +0000 |
| Subject: | [php-src] PR #24099: ext/standard: Reject incomplete sha1_file reads | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-39108@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/24099
Author: iliaal
Return false from sha1_file() after a negative read or a zero read without EOF, rather than
returning a digest of incomplete data. Preserve complete-file digests in hexadecimal and raw modes.