closing bug #74384
authorKonstantin V. Arkhipov <voxus@gentoo.org>
Mon, 27 Dec 2004 16:49:40 +0000 (16:49 +0000)
committerKonstantin V. Arkhipov <voxus@gentoo.org>
Mon, 27 Dec 2004 16:49:40 +0000 (16:49 +0000)
sys-kernel/openmosix-sources/ChangeLog
sys-kernel/openmosix-sources/Manifest
sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.28-r4 [moved from sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.28-r3 with 100% similarity]
sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-1137.patch [new file with mode: 0644]
sys-kernel/openmosix-sources/openmosix-sources-2.4.28-r4.ebuild [moved from sys-kernel/openmosix-sources/openmosix-sources-2.4.28-r3.ebuild with 92% similarity]

index acc12c6f6691cf846f73707d97c9b6bc2c0f7518..bc3b00eae6cad81fc388d2ae004e6471c2d5a2cd 100644 (file)
@@ -1,6 +1,14 @@
 # ChangeLog for sys-kernel/openmosix-sources
 # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/openmosix-sources/ChangeLog,v 1.78 2004/12/27 09:20:38 voxus Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/openmosix-sources/ChangeLog,v 1.79 2004/12/27 16:49:40 voxus Exp $
+
+*openmosix-sources-2.4.28-r4 (27 Dec 2004)
+
+  27 Dec 2004; Konstantin Arkhipov <voxus@gentoo.org>:
+  +files/openmosix-sources.CAN-2004-1137.patch,
+  -openmosix-sources-2.4.28-r3.ebuild,
+  +openmosix-sources-2.4.28-r4.ebuild:
+  Yet another security patch, closing bug #74384.
 
 *openmosix-sources-2.4.28-r3 (27 Dec 2004)
 
index 709515757f8447be61a30510c358971e206cabab..d1e798b2b6b87ff078b20ed60125e4976c268a14 100644 (file)
@@ -1,11 +1,12 @@
-MD5 36097b2e6fc93298315a5ae7fa475a9a openmosix-sources-2.4.28-r3.ebuild 1882
 MD5 0d2ed6c9db12f5a1088afa199f413565 openmosix-sources-2.4.28-r2.ebuild 1615
-MD5 5dff3cab5be6aed29268a9e1f88cc095 ChangeLog 16638
+MD5 007c40346626138d3a62a62aa91df3b0 openmosix-sources-2.4.28-r4.ebuild 1969
+MD5 1dff448b38a24b40349763adc6a21a73 ChangeLog 16914
 MD5 41664043c4624dedcfeeb07950f08d13 metadata.xml 312
 MD5 eb003205dcff506c0ddfd4783862889a files/openmosix-sources-binfmt_aout.patch 1960
 MD5 97d5fad4a9d39486b7da19adeada5d6d files/openmosix-sources-dn_neigh.patch 310
+MD5 04be98c8627ae3649c27ca03d4f2e26c files/openmosix-sources.CAN-2004-1137.patch 1845
 MD5 6aa8f7a7c2d55734389b53d3bcf78570 files/openmosix-sources.CAN-2004-1016.patch 2835
 MD5 e680b98c71a099e1dd8098b513c93068 files/digest-openmosix-sources-2.4.28-r2 296
-MD5 e680b98c71a099e1dd8098b513c93068 files/digest-openmosix-sources-2.4.28-r3 296
+MD5 e680b98c71a099e1dd8098b513c93068 files/digest-openmosix-sources-2.4.28-r4 296
 MD5 757ee1239c3f14645ccea3640d551e11 files/openmosix-sources.CAN-2004-1056.patch 11249
 MD5 c27699e9d62f7d46213bd51f87636163 files/openmosix-sources-vma.patch 8143
diff --git a/sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-1137.patch b/sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-1137.patch
new file mode 100644 (file)
index 0000000..f64ebb0
--- /dev/null
@@ -0,0 +1,59 @@
+--- 1.58/net/ipv4/igmp.c        2004-11-09 16:44:25 -08:00
++++ edited/net/ipv4/igmp.c      2004-12-10 15:16:17 -08:00
+@@ -1778,12 +1778,12 @@ int ip_mc_source(int add, int omode, str
+                       goto done;
+               rv = !0;
+               for (i=0; i<psl->sl_count; i++) {
+-                      rv = memcmp(&psl->sl_addr, &mreqs->imr_multiaddr,
++                      rv = memcmp(&psl->sl_addr[i], &mreqs->imr_sourceaddr,
+                               sizeof(__u32));
+-                      if (rv >= 0)
++                      if (rv == 0)
+                               break;
+               }
+-              if (!rv)        /* source not found */
++              if (rv)         /* source not found */
+                       goto done;
+
+               /* update the interface filter */
+@@ -1825,9 +1825,9 @@ int ip_mc_source(int add, int omode, str
+       }
+       rv = 1; /* > 0 for insert logic below if sl_count is 0 */
+       for (i=0; i<psl->sl_count; i++) {
+-              rv = memcmp(&psl->sl_addr, &mreqs->imr_multiaddr,
++              rv = memcmp(&psl->sl_addr[i], &mreqs->imr_sourceaddr,
+                       sizeof(__u32));
+-              if (rv >= 0)
++              if (rv == 0)
+                       break;
+       }
+       if (rv == 0)            /* address already there is an error */
+--- 1.71/net/ipv6/mcast.c       2004-11-11 15:07:25 -08:00
++++ edited/net/ipv6/mcast.c     2004-12-10 17:20:46 -08:00
+@@ -391,12 +391,12 @@ int ip6_mc_source(int add, int omode, st
+                       goto done;
+               rv = !0;
+               for (i=0; i<psl->sl_count; i++) {
+-                      rv = memcmp(&psl->sl_addr, group,
++                      rv = memcmp(&psl->sl_addr[i], source,
+                               sizeof(struct in6_addr));
+-                      if (rv >= 0)
++                      if (rv == 0)
+                               break;
+               }
+-              if (!rv)        /* source not found */
++              if (rv)         /* source not found */
+                       goto done;
+
+               /* update the interface filter */
+@@ -437,8 +437,8 @@ int ip6_mc_source(int add, int omode, st
+       }
+       rv = 1; /* > 0 for insert logic below if sl_count is 0 */
+       for (i=0; i<psl->sl_count; i++) {
+-              rv = memcmp(&psl->sl_addr, group, sizeof(struct in6_addr));
+-              if (rv >= 0)
++              rv = memcmp(&psl->sl_addr[i], source, sizeof(struct in6_addr));
++              if (rv == 0)
+                       break;
+       }
+       if (rv == 0)            /* address already there is an error */
similarity index 92%
rename from sys-kernel/openmosix-sources/openmosix-sources-2.4.28-r3.ebuild
rename to sys-kernel/openmosix-sources/openmosix-sources-2.4.28-r4.ebuild
index 887186737fc9c6eee9989f5723c281e2bfee18fa..d5f272025a48af5dc88f84c2ff90f06f3d3ec95e 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/openmosix-sources/openmosix-sources-2.4.28-r3.ebuild,v 1.1 2004/12/27 09:20:38 voxus Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/openmosix-sources/openmosix-sources-2.4.28-r4.ebuild,v 1.1 2004/12/27 16:49:40 voxus Exp $
 #OKV=original kernel version, KV=patched kernel version.  They can be the same.
 
 ETYPE="sources"
@@ -43,6 +43,7 @@ src_unpack() {
        # CAN's
        epatch ${FILESDIR}/${PN}.CAN-2004-1016.patch || die "Patch for CAN-2004-1016 failed."
        epatch ${FILESDIR}/${PN}.CAN-2004-1056.patch || die "Patch for CAN-2004-1056 failed."
+       epatch ${FILESDIR}/${PN}.CAN-2004-1137.patch || die "Patch for CAN-2004-1137 failed."
 
        epatch ${FILESDIR}/${PN}-vma.patch || "Second patch for CAN-2004-1074 failed."