[Pkg-php-commits] [php/debian-sid] Cherry-pick fix for bug php#52947 (segfault when ssl stream option capture_peer_cert_chain used)

Ondřej Surý ondrej at sury.org
Wed Nov 17 09:48:09 UTC 2010


---
 debian/patches/bug52947.patch |   10 ++++++++++
 debian/patches/series         |    1 +
 2 files changed, 11 insertions(+), 0 deletions(-)
 create mode 100644 debian/patches/bug52947.patch

diff --git a/debian/patches/bug52947.patch b/debian/patches/bug52947.patch
new file mode 100644
index 0000000..d1aad12
--- /dev/null
+++ b/debian/patches/bug52947.patch
@@ -0,0 +1,10 @@
+--- a/ext/openssl/xp_ssl.c	2010/09/29 00:55:43	303838
++++ b/ext/openssl/xp_ssl.c	2010/09/29 01:25:35	303839
+@@ -502,7 +502,6 @@
+ 										zend_list_insert(mycert,
+ 											php_openssl_get_x509_list_id()));
+ 								add_next_index_zval(arr, zcert);
+-								FREE_ZVAL(zcert);
+ 							}
+ 
+ 						} else {
diff --git a/debian/patches/series b/debian/patches/series
index 643ec16..b6da571 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -65,3 +65,4 @@ fix_crash_in__php_mssql_get_column_content_without_type.patch
 bug52827.patch
 bug52843.patch
 CVE-2010-3436.patch
+bug52947.patch
-- 
1.7.1





More information about the Pkg-php-commits mailing list