]> git.pld-linux.org Git - packages/apache.git/blame - httpd-2.0.40-xfsz.patch
- up to 2.4.59
[packages/apache.git] / httpd-2.0.40-xfsz.patch
CommitLineData
0e467b1f
AM
1
2Set SIGXFSZ to be ignored, so a write() beyond 2gb will fail with
3E2BIG rather than killing the process
4
5--- ./server/mpm/prefork/prefork.c.xfsz Wed Jul 17 22:39:55 2002
6+++ ./server/mpm/prefork/prefork.c Mon Aug 26 15:40:24 2002
7@@ -461,7 +461,7 @@
8 ap_log_error(APLOG_MARK, APLOG_WARNING, errno, ap_server_conf, "sigaction(SIGXCPU)");
9 #endif
10 #ifdef SIGXFSZ
11- sa.sa_handler = SIG_DFL;
12+ sa.sa_handler = SIG_IGN;
13 if (sigaction(SIGXFSZ, &sa, NULL) < 0)
14 ap_log_error(APLOG_MARK, APLOG_WARNING, errno, ap_server_conf, "sigaction(SIGXFSZ)");
15 #endif
This page took 0.065815 seconds and 4 git commands to generate.