diff options
author | Jakub Zelenka <bukka@php.net> | 2017-10-30 16:36:38 +0000 |
---|---|---|
committer | Jakub Zelenka <bukka@php.net> | 2017-10-30 16:40:56 +0000 |
commit | fc169d2133a0507addbfd4f3b0cafe224b6e2c38 (patch) | |
tree | 41f7fa84f7f9294508cf1068853f756e28aedaf4 /ext/pcre/pcre2lib/pcre2_string_utils.c | |
parent | d8ccffa79a983a8f4ce0304d6d69beb52f20579c (diff) | |
download | php-git-fc169d2133a0507addbfd4f3b0cafe224b6e2c38.tar.gz |
Prevent leaking x509 and csr resources if it is not requested
All functions using php_openssl_x509_from_zval or php_openssl_csr_from_zval
with makeresource equal to 0 do not deref the resource which means there
is a leak till the end of the request. This can cause issues for long
running apps. It is a generic solution for bug #75363 which also covers
other functions.
Diffstat (limited to 'ext/pcre/pcre2lib/pcre2_string_utils.c')
0 files changed, 0 insertions, 0 deletions