Blame SOURCES/php-5.6.5-CVE-2015-3330.patch

f90754
From 809610f5ea38a83b284e1125d1fff129bdd615e7 Mon Sep 17 00:00:00 2001
f90754
From: Stanislav Malyshev <stas@php.net>
f90754
Date: Sat, 4 Apr 2015 15:03:46 -0700
f90754
Subject: [PATCH] Fix bug #68486 and bug #69218 (segfault in apache2handler
f90754
 with apache 2.4)
f90754
f90754
---
f90754
 sapi/apache2handler/sapi_apache2.c | 1 +
f90754
 1 file changed, 1 insertion(+)
f90754
f90754
diff --git a/sapi/apache2handler/sapi_apache2.c b/sapi/apache2handler/sapi_apache2.c
f90754
index e97f11c..cfebc5f 100644
f90754
--- a/sapi/apache2handler/sapi_apache2.c
f90754
+++ b/sapi/apache2handler/sapi_apache2.c
f90754
@@ -688,6 +688,7 @@ zend_first_try {
f90754
 } zend_end_try();
f90754
 		}
f90754
 		apr_brigade_cleanup(brigade);
f90754
+		apr_pool_cleanup_run(r->pool, (void *)&SG(server_context), php_server_context_cleanup);
f90754
 	} else {
f90754
 		ctx->r = parent_req;
f90754
 	}
f90754
-- 
f90754
2.1.4
f90754