]> git.pld-linux.org Git - packages/php.git/blame - php-bug-68486.patch
- rel 50; backported fix for CVE-2019-11043
[packages/php.git] / php-bug-68486.patch
CommitLineData
0e621d01
AM
1commit af1cd45d171fbb06712f846cec7bf69438db8ec2
2Author: Stanislav Malyshev <stas@php.net>
3Date: Sat Apr 4 15:03:46 2015 -0700
4
5 Fix bug #68486 and bug #69218 (segfault in apache2handler with apache 2.4)
6
7diff --git a/NEWS b/NEWS
8index 9c8e0ec..75aa306 100644
9--- a/NEWS
10+++ b/NEWS
11@@ -2,6 +2,10 @@ PHP NEWS
12 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
13 ?? ??? 2015 PHP 5.4.40
14
15+- Apache2 Handler SAPI:
16+ . Fixed bug #69218 (potential remote code execution with apache 2.4
17+ apache2handler). (Patrick Schaaf)
18+
19 - Fileinfo:
20 . Fixed bug #68819 (Fileinfo on specific file causes spurious OOM and/or
21 segfault). (Anatol Belski))
22diff --git a/sapi/apache2handler/sapi_apache2.c b/sapi/apache2handler/sapi_apache2.c
23index e97f11c..cfebc5f 100644
24--- a/sapi/apache2handler/sapi_apache2.c
25+++ b/sapi/apache2handler/sapi_apache2.c
26@@ -688,6 +688,7 @@ zend_first_try {
27 } zend_end_try();
28 }
29 apr_brigade_cleanup(brigade);
30+ apr_pool_cleanup_run(r->pool, (void *)&SG(server_context), php_server_context_cleanup);
31 } else {
32 ctx->r = parent_req;
33 }
This page took 0.053384 seconds and 4 git commands to generate.