summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Yamin <plasmaroo@gentoo.org>2004-06-04 17:53:14 +0000
committerTim Yamin <plasmaroo@gentoo.org>2004-06-04 17:53:14 +0000
commit388f52ad728eb15049cf373eec0bf20014f3a551 (patch)
treeeb76391d8111bd3e24ce251eaaa251499d7224c5 /sys-kernel/wolk-sources/files/wolk-sources.CAN-2004-0427.patch
parentpkg_postinstall -> pkg_postinst (diff)
downloadhistorical-388f52ad728eb15049cf373eec0bf20014f3a551.tar.gz
historical-388f52ad728eb15049cf373eec0bf20014f3a551.tar.bz2
historical-388f52ad728eb15049cf373eec0bf20014f3a551.zip
Added patches for the CAN-2004-0133, CAN-2004-0181, CAN-2004-0394, and CAN-2004-0427 vulnerabilities. Bug #47881. Old versions of sources removed. QA: Fixed ebuild.badheader; moved "Submitted by" data to the ChangeLog.
Diffstat (limited to 'sys-kernel/wolk-sources/files/wolk-sources.CAN-2004-0427.patch')
-rw-r--r--sys-kernel/wolk-sources/files/wolk-sources.CAN-2004-0427.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/sys-kernel/wolk-sources/files/wolk-sources.CAN-2004-0427.patch b/sys-kernel/wolk-sources/files/wolk-sources.CAN-2004-0427.patch
new file mode 100644
index 000000000000..ddc9610f67f8
--- /dev/null
+++ b/sys-kernel/wolk-sources/files/wolk-sources.CAN-2004-0427.patch
@@ -0,0 +1,14 @@
+diff -Nar -U 4 linux-2.4.25/kernel/fork.c linux-2.4.25-new/kernel/fork.c
+--- linux-2.4.25/kernel/fork.c 2004-02-18 05:36:32.000000000 -0800
++++ linux-2.4.25-new/kernel/fork.c 2004-04-07 17:43:29.000000000 -0700
+@@ -825,8 +825,10 @@
+ bad_fork_cleanup_namespace:
+ exit_namespace(p);
+ bad_fork_cleanup_mm:
+ exit_mm(p);
++ if (p->active_mm)
++ mmdrop(p->active_mm);
+ bad_fork_cleanup_sighand:
+ exit_sighand(p);
+ bad_fork_cleanup_fs:
+ exit_fs(p); /* blocking */