pkgsrc/www/apache22/patches/patch-av
2009-01-25 09:59:51 +00:00

13 lines
384 B
Text

$NetBSD: patch-av,v 1.2 2009/01/25 09:59:51 tron Exp $
--- modules/generators/mod_cgid.c.orig 2008-08-15 18:08:05.000000000 -0400
+++ modules/generators/mod_cgid.c
@@ -203,7 +203,7 @@ static char **create_argv(apr_pool_t *p,
char *w;
int idx = 0;
- if (ap_strchr_c(args, '=')) {
+ if (!(*args) || ap_strchr_c(args, '=')) {
numwords = 0;
}
else {