]> 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)
ext/openssl/xp_ssl.c

index c265869966141620d12d9dc51f541288995672c6..9b7c9d45f1b8568c3c748cf15c9f04cd3f02b273 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() TSRMLS_CC));
                                                                add_next_index_zval(arr, zcert);
-                                                               FREE_ZVAL(zcert);
                                                        }
 
                                                } else {