summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/win4lin-sources/files/win4lin-sources-2.6.cmdlineLeak.patch')
-rw-r--r--sys-kernel/win4lin-sources/files/win4lin-sources-2.6.cmdlineLeak.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-kernel/win4lin-sources/files/win4lin-sources-2.6.cmdlineLeak.patch b/sys-kernel/win4lin-sources/files/win4lin-sources-2.6.cmdlineLeak.patch
new file mode 100644
index 000000000000..763f0cf64449
--- /dev/null
+++ b/sys-kernel/win4lin-sources/files/win4lin-sources-2.6.cmdlineLeak.patch
@@ -0,0 +1,12 @@
+--- 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)