lkml.org 
[lkml]   [2002]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] 2.5: PATH_MAX length fix
Date
From
> +++ 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/

\
 
 \ /
  Last update: 2005-03-22 13:15    [W:0.032 / U:0.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site