summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Yamin <plasmaroo@gentoo.org>2004-04-17 13:35:23 +0000
committerTim Yamin <plasmaroo@gentoo.org>2004-04-17 13:35:23 +0000
commitbd0cbb0d215912417830200ae82b2df0826ebeae (patch)
treeaa8a18214c4c2dfdcf5cd892c62b0e4b6f8abcc7 /sys-kernel/selinux-sources/files/selinux-sources-2.4.25.CAN-2004-0177.patch
parentVersion bump. (diff)
downloadhistorical-bd0cbb0d215912417830200ae82b2df0826ebeae.tar.gz
historical-bd0cbb0d215912417830200ae82b2df0826ebeae.tar.bz2
historical-bd0cbb0d215912417830200ae82b2df0826ebeae.zip
Added patches for the CAN-2004-0177 and CAN-2004-0178 vulnerabilities.
Diffstat (limited to 'sys-kernel/selinux-sources/files/selinux-sources-2.4.25.CAN-2004-0177.patch')
-rw-r--r--sys-kernel/selinux-sources/files/selinux-sources-2.4.25.CAN-2004-0177.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys-kernel/selinux-sources/files/selinux-sources-2.4.25.CAN-2004-0177.patch b/sys-kernel/selinux-sources/files/selinux-sources-2.4.25.CAN-2004-0177.patch
new file mode 100644
index 000000000000..da6b7e190685
--- /dev/null
+++ b/sys-kernel/selinux-sources/files/selinux-sources-2.4.25.CAN-2004-0177.patch
@@ -0,0 +1,10 @@
+--- linux-2.4.26-pre3/fs/jbd/journal.c 2004-02-18 05:36:31.000000000 -0800
++++ linux-2.4.26-pre4/fs/jbd/journal.c 2004-03-16 09:59:36.000000000 -0800
+@@ -671,6 +671,7 @@
+
+ bh = getblk(journal->j_dev, blocknr, journal->j_blocksize);
+ lock_buffer(bh);
++ memset(bh->b_data, 0, journal->j_blocksize);
+ BUFFER_TRACE(bh, "return this buffer");
+ return journal_add_journal_head(bh);
+ }