You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2009/12/07 14:41:08 UTC
svn commit: r887923 - /httpd/mod_fcgid/trunk/modules/fcgid/fcgid_bridge.c
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: