lkml.org 
[lkml]   [2004]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: 2.6.0-mm1 - kernel panic (VFS bug?)
From
Date
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/

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