- new from debian auto/ac/apache-mod_fastcgi-2_4_2-9 auto/ac/apache-mod_fastcgi-2_4_6-1 auto/ac/apache-mod_fastcgi-2_4_6-2 auto/th/apache-mod_fastcgi-2_4_2-10 auto/th/apache-mod_fastcgi-2_4_2-9 auto/th/apache-mod_fastcgi-2_4_6-2 auto/th/apache-mod_fastcgi-2_4_6-3 auto/ti/apache-mod_fastcgi-2_4_2-9
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 24 Nov 2006 15:03:59 +0000 (15:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache1-mod_fastcgi-segv-onload.patch -> 1.1

apache1-mod_fastcgi-segv-onload.patch [new file with mode: 0644]

diff --git a/apache1-mod_fastcgi-segv-onload.patch b/apache1-mod_fastcgi-segv-onload.patch
new file mode 100644 (file)
index 0000000..b5a41bc
--- /dev/null
@@ -0,0 +1,32 @@
+--- libapache-mod-fastcgi-2.4.2.orig/debian/patches/apache2-segv-on-load.dpatch
++++ libapache-mod-fastcgi-2.4.2/debian/patches/apache2-segv-on-load.dpatch
+@@ -0,0 +1,29 @@
++#! /bin/sh /usr/share/dpatch/dpatch-run
++## apache2-segv-on-load.dpatch by  <sugi@nemui.org>
++##
++## All lines beginning with `## DP:' are a description of the patch.
++## DP: No description.
++
++@DPATCH@
++diff -urNad libapache-mod-fastcgi~/mod_fastcgi.c libapache-mod-fastcgi/mod_fastcgi.c
++--- libapache-mod-fastcgi~/mod_fastcgi.c      2005-08-06 14:09:11.000000000 +0900
+++++ libapache-mod-fastcgi/mod_fastcgi.c       2006-10-06 20:52:46.368480801 +0900
++@@ -2850,10 +2850,15 @@
++ 
++     get_request_identity(r, &uid, &gid);
++ 
++-    if (fcgi_util_fs_get_by_id(r->filename, uid, gid))
+++    /* Only try this if r->filename is not NULL,
+++     * otherwise Apache 2 crashes with SIGSEGV... */
+++    if (r->filename)
++     {
++-        r->handler = FASTCGI_HANDLER_NAME;
++-        return OK;
+++        if (fcgi_util_fs_get_by_id(r->filename, uid, gid))
+++        {
+++            r->handler = FASTCGI_HANDLER_NAME;
+++            return OK;
+++        }
++     }
++ 
++     return DECLINED;
This page took 0.032505 seconds and 4 git commands to generate.