httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r887923 - /httpd/mod_fcgid/trunk/modules/fcgid/fcgid_bridge.c
Date Mon, 07 Dec 2009 13:41:08 GMT
Author: trawick
Date: Mon Dec  7 13:41:07 2009
New Revision: 887923

URL: http://svn.apache.org/viewvc?rev=887923&view=rev
Log:
fix null pointer dereference in r833883 (not in a released version)

PR: 48341

Modified:
    httpd/mod_fcgid/trunk/modules/fcgid/fcgid_bridge.c

Modified: httpd/mod_fcgid/trunk/modules/fcgid/fcgid_bridge.c
URL: http://svn.apache.org/viewvc/httpd/mod_fcgid/trunk/modules/fcgid/fcgid_bridge.c?rev=887923&r1=887922&r2=887923&view=diff
==============================================================================
--- httpd/mod_fcgid/trunk/modules/fcgid/fcgid_bridge.c (original)
+++ httpd/mod_fcgid/trunk/modules/fcgid/fcgid_bridge.c Mon Dec  7 13:41:07 2009
@@ -171,9 +171,10 @@
     }
 
     proc_close_ipc(&ctx->ipc);
-    ++ctx->procnode->requests_handled;
 
     if (ctx->procnode) {
+        ++ctx->procnode->requests_handled;
+
         /* FIXME See BZ #47483 */
         /* Return procnode
            I will return this slot to idle(or error) list except:



Mime
View raw message