[php-src] PR #21010: Fix crash in openssl_x509_parse() when X509_NAME_oneline() fails
| From: | ndossche | Date: | Thu, 22 Jan 2026 21:11:02 +0000 |
| Subject: | [php-src] PR #21010: Fix crash in openssl_x509_parse() when X509_NAME_oneline() fails | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-34638@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/21010
Author: ndossche
The X509_NAME_oneline() function can return NULL, which will cause a crash when the string length is
computed via add_assoc_string().
This was found by a hybrid static-dynamic analyser that looks for inconsistent handling of error
checks in bindings.