CVE-2015-3330
Community BUG:
https://bugs.php.net/bug.php?id=69218
Community CODE:
http://git.php.net/?p=php-src.git;a=commit;h=809610f5ea38a83b284e1125d1fff129bdd615e7
This patch was created from the community reports above.
--- php-5.3.29/sapi/apache2handler/sapi_apache2.c_orig 2015-06-10 13:38:01.218738017 -0700
+++ php-5.3.29/sapi/apache2handler/sapi_apache2.c 2015-06-10 13:38:30.440222529 -0700
@@ -690,6 +690,7 @@
} zend_end_try();
}
apr_brigade_cleanup(brigade);
+ apr_pool_cleanup_run(r->pool, (void *)&SG(server_context), php_server_context_cleanup);
} else {
ctx->r = parent_req;
}