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

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