Bug #78422 [NEW]: openssl_random_pseudo_bytes() -> Segmentation fault
| From: | thomas-php at digionline dot de | Date: | Fri, 16 Aug 2019 13:45:11 +0000 |
| Subject: | Bug #78422 [NEW]: openssl_random_pseudo_bytes() -> Segmentation fault | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-222272@lists.php.net to get a copy of this message | ||
From: thomas-php at digionline dot de
Operating system: Debian 10
PHP version: 7.4.0beta2
Package: OpenSSL related
Bug Type: Bug
Bug description:openssl_random_pseudo_bytes() -> Segmentation fault
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 bug report at https://bugs.php.net/bug.php?id=78422&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=78422&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=78422&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=78422&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=78422&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=78422&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=78422&r=support
Expected behavior: https://bugs.php.net/fix.php?id=78422&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=78422&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=78422&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=78422&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=78422&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=78422&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=78422&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=78422&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78422&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=78422&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=78422&r=mysqlcfg