summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Jackson <iggy@gentoo.org>2003-12-01 22:16:42 +0000
committerBrian Jackson <iggy@gentoo.org>2003-12-01 22:16:42 +0000
commit0b694b4ccb9d623ef03655ac76ae5590af285a72 (patch)
treee43493627e1dae4855368182b738d73d87b22bfb /sys-kernel/aa-sources
parentfix do_brk vuln (diff)
downloadhistorical-0b694b4ccb9d623ef03655ac76ae5590af285a72.tar.gz
historical-0b694b4ccb9d623ef03655ac76ae5590af285a72.tar.bz2
historical-0b694b4ccb9d623ef03655ac76ae5590af285a72.zip
fix do_brk vuln
Diffstat (limited to 'sys-kernel/aa-sources')
-rw-r--r--sys-kernel/aa-sources/ChangeLog6
-rw-r--r--sys-kernel/aa-sources/Manifest7
-rw-r--r--sys-kernel/aa-sources/aa-sources-2.4.22-r1.ebuild4
-rw-r--r--sys-kernel/aa-sources/files/do_brk_fix.patch12
4 files changed, 24 insertions, 5 deletions
diff --git a/sys-kernel/aa-sources/ChangeLog b/sys-kernel/aa-sources/ChangeLog
index 9870213aaab1..6c1ad6041588 100644
--- a/sys-kernel/aa-sources/ChangeLog
+++ b/sys-kernel/aa-sources/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-kernel/aa-sources
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/aa-sources/ChangeLog,v 1.16 2003/10/06 07:37:30 lostlogic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/aa-sources/ChangeLog,v 1.17 2003/12/01 22:16:40 iggy Exp $
+
+ 01 Dec 2003; Brian Jackson <iggy@gentoo.org> aa-sources-2.4.22-r1.ebuild,
+ files/do_brk_fix.patch:
+ fix do_brk vuln
06 Oct 2003; Brandon Low <lostlogic@gentoo.org>
aa-sources-2.4.21_rc2-r1.ebuild, aa-sources-2.4.21_rc4-r1.ebuild,
diff --git a/sys-kernel/aa-sources/Manifest b/sys-kernel/aa-sources/Manifest
index 09035114f89b..b8392ccd7185 100644
--- a/sys-kernel/aa-sources/Manifest
+++ b/sys-kernel/aa-sources/Manifest
@@ -1,7 +1,8 @@
-MD5 8f3d1ad40809aedf43ec1405d28d9646 ChangeLog 2905
+MD5 f52db1359783589e6bff683234f18ebf aa-sources-2.4.22-r1.ebuild 2195
MD5 bd7673df9743cb95a2d881cace1b7d05 aa-sources-2.4.23_pre6-r3.ebuild 2298
+MD5 44a02201817a35309bb8f2aa441a90c6 ChangeLog 3021
MD5 399eb7607b8f1f3f597e93566b1bda7c metadata.xml 453
-MD5 0bcf85041b4378294617b860a49047ec aa-sources-2.4.22-r1.ebuild 2162
+MD5 e637c6fa41097ea2c4693d0766f2e1c5 files/do_brk_fix.patch 242
+MD5 fcfb3fc100621b77d191f86b66dd810a files/aa-sources-2.4.22-ide-scsi-missing-sym-fix.patch 465
MD5 c2babe65706f8f06078eb30bd36d0cd5 files/digest-aa-sources-2.4.23_pre6-r3 197
MD5 017a713155afe3e4b9c5672eef0bc959 files/digest-aa-sources-2.4.22-r1 126
-MD5 fcfb3fc100621b77d191f86b66dd810a files/aa-sources-2.4.22-ide-scsi-missing-sym-fix.patch 465
diff --git a/sys-kernel/aa-sources/aa-sources-2.4.22-r1.ebuild b/sys-kernel/aa-sources/aa-sources-2.4.22-r1.ebuild
index a6e73a37835f..9b309c0f5cd6 100644
--- a/sys-kernel/aa-sources/aa-sources-2.4.22-r1.ebuild
+++ b/sys-kernel/aa-sources/aa-sources-2.4.22-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/aa-sources/aa-sources-2.4.22-r1.ebuild,v 1.4 2003/09/11 21:35:24 plasmaroo Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/aa-sources/aa-sources-2.4.22-r1.ebuild,v 1.5 2003/12/01 22:16:40 iggy Exp $
IUSE="build"
@@ -63,5 +63,7 @@ src_unpack() {
# http://lkml.org/lkml/2003/9/2/194 [plasmaroo//bug 28452]
epatch ${FILESDIR}/aa-sources-2.4.22-ide-scsi-missing-sym-fix.patch
+ epatch ${FILESDIR}/do_brk_fix.patch
+
kernel_universal_unpack
}
diff --git a/sys-kernel/aa-sources/files/do_brk_fix.patch b/sys-kernel/aa-sources/files/do_brk_fix.patch
new file mode 100644
index 000000000000..fef1f1e981e2
--- /dev/null
+++ b/sys-kernel/aa-sources/files/do_brk_fix.patch
@@ -0,0 +1,12 @@
+--- a/mm/mmap.c Fri Sep 12 06:44:06 2003
++++ b/mm/mmap.c Thu Oct 2 01:18:19 2003
+@@ -1041,6 +1041,9 @@
+ if (!len)
+ return addr;
+
++ if ((addr + len) > TASK_SIZE || (addr + len) < addr)
++ return -EINVAL;
++
+ /*
+ * mlock MCL_FUTURE?
+ */