[php-src] PR #21011: Fix crash when in openssl_x509_parse() when i2s_ASN1_INTEGER() fails
| From: | ndossche | Date: | Thu, 22 Jan 2026 21:17:04 +0000 |
| Subject: | [php-src] PR #21011: Fix crash when in openssl_x509_parse() when i2s_ASN1_INTEGER() fails | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-34640@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/21011
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.