You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Randy Terbush <ra...@zyzzyva.com> on 1997/04/28 16:22:13 UTC
Re: [PATCH] create_argv again and again
> --- 73,107 ----
> #define MALFORMED_HEADER_LENGTH_TO_SHOW 30
>
> static char **create_argv(pool *p, char *path, char *user, char *group,
> ! char *av0, const char *args)
> {
> + int x, n;
> char **av;
> ! char *w;
> int idx = 0;
>
> ! for(x = 0, n = 2; args[x]; x++)
> ! if(args[x] == '+') ++n;
> !
At the very least, I can probably wreak some major havoc on a
system without some max args here. I agree that MAX_ARGS is somewhat
rediculously large on some systems.