Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-1.9.git;a=commitdiff;h=567cefca9a863263b6c583c27f13d0caa32978a0

commit 567cefca9a863263b6c583c27f13d0caa32978a0
Author: kikadf <[email protected]>
Date:   Sun Apr 20 17:42:58 2014 +0200

qemu-1.5.2-3arcturus3-x86_64

* Fix CVE-2014-0150

diff --git a/source/xapps-extra/qemu/CVE-2014-0150.patch 
b/source/xapps-extra/qemu/CVE-2014-0150.patch
new file mode 100644
index 0000000..6d1d101
--- /dev/null
+++ b/source/xapps-extra/qemu/CVE-2014-0150.patch
@@ -0,0 +1,12 @@
+diff -Naur qemu-1.6.1/hw/net/virtio-net.c qemu-1.6.1.new/hw/net/virtio-net.c
+--- qemu-1.6.1/hw/net/virtio-net.c     2013-10-09 21:20:32.000000000 +0200
++++ qemu-1.6.1.new/hw/net/virtio-net.c 2014-04-20 16:50:58.355124813 +0200
+@@ -655,7 +655,7 @@
+         goto error;
+     }
+
+-    if (n->mac_table.in_use + mac_data.entries <= MAC_TABLE_ENTRIES) {
++    if (mac_data.entries <= MAC_TABLE_ENTRIES - n->mac_table.in_use) {
+         s = iov_to_buf(iov, iov_cnt, 0, n->mac_table.macs,
+                        mac_data.entries * ETH_ALEN);
+         if (s != mac_data.entries * ETH_ALEN) {
diff --git a/source/xapps-extra/qemu/FrugalBuild 
b/source/xapps-extra/qemu/FrugalBuild
index ffee5fc..d5edf26 100644
--- a/source/xapps-extra/qemu/FrugalBuild
+++ b/source/xapps-extra/qemu/FrugalBuild
@@ -1,4 +1,5 @@
# Compiling Time: 3.00 SBU
+# Contributor: kikadf <[email protected]>
# Maintainer: Marius Cirsta <[email protected]>
# Contributor: Miklos Vajna <[email protected]>

@@ -9,7 +10,7 @@ USE_DEVEL=${USE_DEVEL:-"n"}
pkgname=qemu
pkgver=1.5.2
Fuse $USE_DEVEL && pkgver=svn6369
-pkgrel=3arcturus2
+pkgrel=3arcturus3
Fuse $USE_DEVEL && pkgrel=1
pkgdesc="QEMU is a FAST! processor emulator"
url="http://www.nongnu.org/qemu/";
@@ -48,10 +49,12 @@ subdepends=('glib2' 'glib2 nss')
TARGETS="i386-softmmu x86_64-softmmu arm-softmmu"

# FSA fix ***
-source=(${source[@]} CVE-2013-4344.patch CVE-2013-4375.patch 
CVE-2013-4377.patch)
+source=(${source[@]} CVE-2013-4344.patch CVE-2013-4375.patch 
CVE-2013-4377.patch
+                     CVE-2014-0150.patch)
sha1sums=(${sha1sums[@]} '24acdb676d4bea695e7b0a2cb75efdebca92bb0f' \
'761b353dbbd110fd8e75e0e5f471effdc8e37beb' \
-                        'b50f8d0fcb307220ec670685835808dbd387fc7e')
+                        'b50f8d0fcb307220ec670685835808dbd387fc7e' \
+                         '21f8788763786778efff306e07d0f0dc64aabb36')
# ***********

build()
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to