[php-src] PR #21953: openssl: Use proper error propagation when X509_dup() fails in openssl_x509_read()
| From: | ndossche | Date: | Tue, 05 May 2026 15:22:28 +0000 |
| Subject: | [php-src] PR #21953: openssl: Use proper error propagation when X509_dup() fails in openssl_x509_read() | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-36027@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/21953
Author: ndossche
Otherwise x509 field is NULL and can cause a NULL deref which is UB (and causes a SEGV).
Disclaimer: this was found by an experimental static-dynamic hybrid analyser I'm working on.