Messages in this thread | | | Subject | Re: 2.6.0-mm1 - kernel panic (VFS bug?) | From | Andi Kleen <> | Date | Tue, 06 Jan 2004 06:49:16 +0100 |
| |
Libor Vanek <libor@conet.cz> writes: > ... > asmlinkage long sys_open(const char __user * filename, int flags, int mode) > { > char * tmp; > int fd, error; > char tmp_path[PATH_MAX],tmp2_path[PATH_MAX];
PATH_MAX is 4096. The i386 stack is only 6k. You already overflowed it. You're lucky if your machine only panics, much worse things can happen with kernel stack overflows.
-Andi - 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/
| |