Re: [PATCH] Use one constant to control MAX SYMLINKS in a name

From: Al Viro
Date: Sun Feb 12 2006 - 16:15:19 EST


On Sun, Feb 12, 2006 at 12:46:14PM -0800, Linda Walsh wrote:
> I'd suggest changing the number in line 14 in namei.h to 40
> as well, thus using the same limit in both cases and clearing up
> such confusion.
>
> The following patch (against 2.6.15.4) seems to make this change and fixes
> up the comments:

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