[php-src] PR #18752: Remove dead code from openssl_spki_new() implementation
| From: | nielsdos | Date: | Tue, 03 Jun 2025 20:52:02 +0000 |
| Subject: | [php-src] PR #18752: Remove dead code from openssl_spki_new() implementation | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-31941@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/18752
Author: nielsdos
If s is not NULL, the length can't be <= 0 because we at least append
spkac in
the string, which is non-empty.
I noticed this condition because if it were actually possible to execute, then it would leak memory.