13 lines
281 B
Diff
13 lines
281 B
Diff
--- linux-2.6.7/fs/proc/base.c~ 2004-08-05 10:35:04.411443536 +0200
|
|
+++ linux-2.6.7/fs/proc/base.c 2004-08-05 10:35:04.412443384 +0200
|
|
@@ -330,6 +330,9 @@
|
|
if (!mm)
|
|
goto out;
|
|
|
|
+ if (!mm->arg_end)
|
|
+ goto out;
|
|
+
|
|
len = mm->arg_end - mm->arg_start;
|
|
|
|
if (len > PAGE_SIZE)
|