Bug #78422 [Ana->Dup]: openssl_random_pseudo_bytes() -> Segmentation fault

From: Date: Fri, 16 Aug 2019 14:10:46 +0000
Subject: Bug #78422 [Ana->Dup]: openssl_random_pseudo_bytes() -> Segmentation fault
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-222275@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: nikic@php.net Reported by: thomas-php at digionline dot de Summary: openssl_random_pseudo_bytes() -> Segmentation fault -Status: Analyzed +Status: Duplicate Type: Bug Package: OpenSSL related Operating System: Debian 10 PHP Version: 7.4.0beta2 Block user comment: N Private report: N New Comment: Duplicate of bug #78391, which is fixed in beta3. Previous Comments: ------------------------------------------------------------------------ [2019-08-16 14:06:34] requinix@php.net > Assertion `(zval_get_type(&(*(zstrong_result_returned))) == 10)' failed. ------------------------------------------------------------------------ [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

« previous php.bugs (#222275) next »