]> granicus.if.org Git - php/commitdiff
- Fixed bug #52947 (segfault when ssl stream option capture_peer_cert_chain used)
authorFelipe Pena <felipe@php.net>
Wed, 29 Sep 2010 01:25:35 +0000 (01:25 +0000)
committerFelipe Pena <felipe@php.net>
Wed, 29 Sep 2010 01:25:35 +0000 (01:25 +0000)
NEWS
ext/openssl/xp_ssl.c

diff --git a/NEWS b/NEWS
index c74002110bb56065ef5f9708c6f1fee98877db8d..0f968246e0cf97bc4689ddb23308541746cabca1 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -22,6 +22,8 @@
 - Fixed possible crash in mssql_fetch_batch(). (Kalle)
 - Fixed inconsistent backlog default value (-1) in FPM on many systems. (fat)
 
+- Fixed bug #52947 (segfault when ssl stream option capture_peer_cert_chain
+  used). (Felipe)
 - Fixed bug #52931 (strripos not overloaded with function overloading enabled).
   (Felipe)
 - Fixed bug #52929 (Segfault in filter_var with FILTER_VALIDATE_EMAIL with
index 412a445d1182758fc99753cd11ff22f6dc08c07e..930aa1f430ad4568151fe5ca5d71101fa739c29f 100644 (file)
@@ -502,7 +502,6 @@ static inline int php_openssl_enable_crypto(php_stream *stream,
                                                                                zend_list_insert(mycert,
                                                                                        php_openssl_get_x509_list_id()));
                                                                add_next_index_zval(arr, zcert);
-                                                               FREE_ZVAL(zcert);
                                                        }
 
                                                } else {