mirror of
https://github.com/php/php-src.git
synced 2026-04-25 08:58:28 +02:00
- fix bug #54061, memory leak in openssl_decrypt
This commit is contained in:
@@ -8,8 +8,10 @@
|
||||
- Exif extension:
|
||||
. Fixed bug #54002 (crash on crafted tag, reported by Luca Carettoni). (Pierre)
|
||||
(CVE-2011-0708)
|
||||
|
||||
- OpenSSL extension:
|
||||
. Fixed bug #54060 (Memory leaks when openssl_encrypt). (Pierre)
|
||||
. Fixed bug #54061 (Memory leaks when openssl_decrypt). (Pierre)
|
||||
|
||||
- SPL extension:
|
||||
. Fixed memory leak in DirectoryIterator::getExtension() and
|
||||
|
||||
@@ -4804,6 +4804,7 @@ PHP_FUNCTION(openssl_decrypt)
|
||||
if (base64_str) {
|
||||
efree(base64_str);
|
||||
}
|
||||
EVP_CIPHER_CTX_cleanup(&cipher_ctx);
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user