/[Apache-SVN]
ViewVC logotype

Revision 556936


Jump to revision: Previous Next
Author: jorton
Date: Tue Jul 17 14:48:25 2007 UTC (2 years, 4 months ago)
Changed paths: 8
Log Message:
Merge r551843, r551889 from trunk:

Add alternative fixes for CVE-2007-3304:

* configure.in: Check for getpgid.

* include/mpm_common.h (ap_mpm_safe_kill): New prototype.

* server/mpm_common.c (reclaim_one_pid): Ensure pid validity before
calling apr_proc_wait().
(ap_mpm_safe_kill): New function.

* server/mpm/prefork/prefork.c, server/mpm/worker/worker.c,
server/mpm/experimental/event/event.c: Use ap_mpm_safe_kill() on pids
from the scoreboard, throughout.

* include/ap_mmn.h: Minor bump.

* server/mpm_common.c: getpgid() returns a pid_t

Submitted by: jorton, jim
Reviewed by: jorton, jim, rpluem

Changed paths:

Path Details
Directoryhttpd/httpd/branches/2.2.x/CHANGES modified , text changed
Directoryhttpd/httpd/branches/2.2.x/configure.in modified , text changed
Directoryhttpd/httpd/branches/2.2.x/include/ap_mmn.h modified , text changed
Directoryhttpd/httpd/branches/2.2.x/include/mpm_common.h modified , text changed
Directoryhttpd/httpd/branches/2.2.x/server/mpm/experimental/event/event.c modified , text changed
Directoryhttpd/httpd/branches/2.2.x/server/mpm/prefork/prefork.c modified , text changed
Directoryhttpd/httpd/branches/2.2.x/server/mpm/worker/worker.c modified , text changed
Directoryhttpd/httpd/branches/2.2.x/server/mpm_common.c modified , text changed

apache@apache.org
ViewVC Help
Powered by ViewVC 1.1.2