[php-src] PR #19013: Fix GH-18986: OpenSSL backend: incorrect RAND_{load,write}_file() return value check
| From: | nielsdos | Date: | Wed, 02 Jul 2025 20:18:13 +0000 |
| Subject: | [php-src] PR #19013: Fix GH-18986: OpenSSL backend: incorrect RAND_{load,write}_file() return value check | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-32293@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/19013
Author: nielsdos
As noted by the LibreSSL maintainer, these functions return -1 on error. This is further confirmed
by my static analyzer that inferred the same thing for OpenSSL.