Re: [PATCH] 2.5: PATH_MAX length fix

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 14 Jan 2002 09:50:54 +0000 (GMT)


> +++ working-2.4.14-pathmax/scripts/mkdep.c Wed Nov 21 12:01:44 2001
> @@ -218,7 +218,7 @@
> void add_path(const char * name)
> {
> struct path_struct *path;
> - char resolved_path[PATH_MAX+1];
> + char resolved_path[PATH_MAX];
> const char *name2;

This is a user mode application running on an unknown host. Its most
definitely correct and only safe before the change

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/