Wang Hui <Hui.Wang@xxxxxxxxxxxxx> writes: > diff --git a/abspath.c b/abspath.c > index f04ac18..2ce1db9 100644 > --- a/abspath.c > +++ b/abspath.c > @@ -24,7 +24,7 @@ int is_directory(const char *path) > const char *real_path(const char *path) > { > static char bufs[2][PATH_MAX + 1], *buf = bufs[0], *next_buf = bufs[1]; > - char cwd[1024] = ""; > + char cwd[PATH_MAX] = ""; Thanks. This does not make things worse but in the longer term we should move away from using PATH_MAX in general. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html