--- httpd-2.2.9.orig/modules/generators/mod_cgid.c 2008-12-14 20:13:34.000000000 -0600 +++ httpd-2.2.9/modules/generators/mod_cgid.c 2008-12-14 20:06:52.000000000 -0600 @@ -203,7 +203,7 @@ char *w; int idx = 0; - if (ap_strchr_c(args, '=')) { + if (!(*args) || ap_strchr_c(args, '=')) { numwords = 0; } else {