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

commit 766a3bc60d3a2a44994706eb10e34625503217d9
Author: kikadf <[email protected]>
Date:   Wed Apr 30 09:08:09 2014 +0200

libmms-0.6.2-2arcturus1-x86_64

* Fix CVE-2014-2892

diff --git a/source/lib/libmms/CVE-2014-2892.patch 
b/source/lib/libmms/CVE-2014-2892.patch
new file mode 100644
index 0000000..bd10e6b
--- /dev/null
+++ b/source/lib/libmms/CVE-2014-2892.patch
@@ -0,0 +1,15 @@
+diff -Naur libmms-0.6.2/src/mmsh.c libmms-0.6.2.new/src/mmsh.c
+--- libmms-0.6.2/src/mmsh.c    2011-01-17 11:51:12.000000000 +0100
++++ libmms-0.6.2.new/src/mmsh.c        2014-04-28 09:42:58.760239900 +0200
+@@ -307,7 +307,10 @@
+         len = 0;
+       }
+     } else {
+-      len ++;
++      if (++len >= sizeof(this->buf)) {
++              lprintf("answer too large\n");
++              return 0;
++        }
+     }
+   }
+   if (this->stream_type == MMSH_UNKNOWN) {
diff --git a/source/lib/libmms/FrugalBuild b/source/lib/libmms/FrugalBuild
index 6f75d87..7c32639 100644
--- a/source/lib/libmms/FrugalBuild
+++ b/source/lib/libmms/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=libmms
pkgver=0.6.2
-pkgrel=1
+pkgrel=2arcturus1
pkgdesc="Microsoft streaming protocols parsing library."
depends=('glib2')
groups=('lib')
@@ -11,4 +11,10 @@ archs=('i686' 'x86_64' 'arm')
Finclude sourceforge
sha1sums=('cdef62fd1a0e2585dd2111fc94b032f84290e351')

+# FSA fix ***
+source=(${source[@]} CVE-2014-2892.patch)
+sha1sums=(${sha1sums[@]} '7a7ec13841c3d9263e84799da450e6ed2a88392f')
+# ***********
+
+
# optimization OK
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to