diff options
| author | Joe Watkins <krakjoe@php.net> | 2017-04-10 12:51:00 +0100 |
|---|---|---|
| committer | Joe Watkins <krakjoe@php.net> | 2017-04-10 12:51:00 +0100 |
| commit | 5c518f47e465cc49b403e3c107db5eca915c87e0 (patch) | |
| tree | ef671ff9da6688d3a7c508e3d4d0ed7444a78549 /ext/openssl/openssl.c | |
| parent | 6a8476281679ce4e27091a67a98e9930b76cb53f (diff) | |
| parent | 394c53889ffa70370e1a6f27e3e3bb070e0a70f7 (diff) | |
| download | php-git-5c518f47e465cc49b403e3c107db5eca915c87e0.tar.gz | |
Merge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1
* 'PHP-7.1' of git.php.net:/php-src:
Update NEWS
Fixed bug #74402 (segfault on random_bytes, bin2hex, openssl_seal)
Diffstat (limited to 'ext/openssl/openssl.c')
| -rw-r--r-- | ext/openssl/openssl.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c index 556e377081..1d99965bb8 100644 --- a/ext/openssl/openssl.c +++ b/ext/openssl/openssl.c @@ -5897,7 +5897,6 @@ PHP_FUNCTION(openssl_seal) if (len1 + len2 > 0) { zval_dtor(sealdata); - buf[len1 + len2] = '\0'; ZVAL_NEW_STR(sealdata, zend_string_init((char*)buf, len1 + len2, 0)); efree(buf); |
