Bug #78422 [Opn->Ana]: openssl_random_pseudo_bytes() -> Segmentation fault
| From: | requinix@php.net | Date: | Fri, 16 Aug 2019 14:06:34 +0000 |
| Subject: | Bug #78422 [Opn->Ana]: openssl_random_pseudo_bytes() -> Segmentation fault | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-222274@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=78422&edit=1
ID: 78422
Updated by: requinix@php.net
Reported by: thomas-php at digionline dot de
Summary: openssl_random_pseudo_bytes() -> Segmentation fault
-Status: Open
+Status: Analyzed
Type: Bug
Package: OpenSSL related
Operating System: Debian 10
PHP Version: 7.4.0beta2
Block user comment: N
Private report: N
New Comment:
> Assertion `(zval_get_type(&(*(zstrong_result_returned))) == 10)' failed.
Previous Comments:
------------------------------------------------------------------------
[2019-08-16 13:45:10] thomas-php at digionline dot de
Description:
------------
openssl_random_pseudo_bytes() crashes PHP, when second parameter &$crypto_strong is given.
Test script:
---------------
<?
openssl_random_pseudo_bytes(4,$b);
?>
Expected result:
----------------
nothing.
Actual result:
--------------
Segmentation fault
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=78422&edit=1