httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@ast.cam.ac.uk (David Robinson)
Subject Re: includes security hole
Date Tue, 11 Apr 1995 16:50:00 GMT
>  Yup good idea. How about   httpd.h    MAX_SUB_DIRS  30
>I'd prefer making it an even hundred --- that's *completely* unreasonable.
>30 is just on the bare threshold of plausibility...

>From solaris 2.4 limits.h:
#define	PATH_MAX	1024	/* max # of characters in a path name */

So the maximum number of directories in a valid filename is 512.

We should probably reduce some of the HUGE_STRING_LEN variables to PATH_MAX
as well.

 David.

Mime
View raw message