httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Terbush <ra...@zyzzyva.com>
Subject Re: [PATCH] create_argv again and again
Date Mon, 28 Apr 1997 14:22:13 GMT

> --- 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.




Mime
View raw message