Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=cccf41131f8cde8272a600b96e4b083f0b3657e4

commit cccf41131f8cde8272a600b96e4b083f0b3657e4
Author: kikadf <[email protected]>
Date:   Mon Jun 23 15:17:39 2014 +0200

php-5.3.26-4-x86_64

* Fix CVE-2014-4049

diff --git a/source/devel/php/CVE-2014-4049.patch 
b/source/devel/php/CVE-2014-4049.patch
new file mode 100644
index 0000000..380d7cf
--- /dev/null
+++ b/source/devel/php/CVE-2014-4049.patch
@@ -0,0 +1,27 @@
+From 4f73394fdd95d3165b4391e1b0dedd57fced8c3b Mon Sep 17 00:00:00 2001
+From: Sara Golemon <[email protected]>
+Date: Tue, 10 Jun 2014 11:18:02 -0700
+Subject: [PATCH] Fix potential segfault in dns_get_record()
+
+If the remote sends us a packet with a malformed TXT record,
+we could end up trying to over-consume the packet and wander
+off into overruns.
+---
+ ext/standard/dns.c | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+Index: php5-5.3.10/ext/standard/dns.c
+===================================================================
+--- php5-5.3.10.orig/ext/standard/dns.c        2014-06-19 13:42:51.333434663 
-0400
++++ php5-5.3.10/ext/standard/dns.c     2014-06-19 13:42:51.289434662 -0400
+@@ -507,6 +507,10 @@
+
+                               while (ll < dlen) {
+                                       n = cp[ll];
++                                      if ((ll + n) >= dlen) {
++                                              // Invalid chunk length, 
truncate
++                                              n = dlen - (ll + 1);
++                                      }
+                                       memcpy(tp + ll , cp + ll + 1, n);
+                                       add_next_index_stringl(entries, cp + ll 
+ 1, n, 1);
+                                       ll = ll + n + 1;
diff --git a/source/devel/php/FrugalBuild b/source/devel/php/FrugalBuild
index 54713ee..4ae21dc 100644
--- a/source/devel/php/FrugalBuild
+++ b/source/devel/php/FrugalBuild
@@ -1,11 +1,10 @@
-# Compiling Time: 29.03 SBU
-# Contributor: kikadf <[email protected]>
+# Compiling Time: 4.65 SBU
# Maintainer: Krisztian VASAS <[email protected]>
# Contributor: Miklos Vajna <[email protected]>

pkgname=php
pkgver=5.3.26
-pkgrel=3
+pkgrel=4
pkgdesc="A widely-used general-purpose scripting language"
url="http://www.php.net";
backup=(etc/{php.ini,httpd/conf/modules.d/$pkgname.conf})
@@ -38,7 +37,8 @@ subarchs=('i686 x86_64')
# FSA fix ***
source=(${source[@]} CVE-2013-4113.patch CVE-2013-4248.patch CVE-2013-6420.patch
CVE-2013-6712.patch CVE-2014-1943.patch CVE-2014-0185.patch
-                     CVE-2014-0237.patch CVE-2014-0238.patch 
CVE-2014-2270.patch)
+                     CVE-2014-0237.patch CVE-2014-0238.patch 
CVE-2014-2270.patch
+                     CVE-2014-4049.patch)
sha1sums=(${sha1sums[@]} '7b9f92b247bf141012b4a83d5bad1b823e4eb2d1' \
'b75fe24356d0e6c5d375c4d2d2315f17d5e34e31' \
'805231398c06b27e4e1f8c18ce9d6aed7b06382d' \
@@ -47,7 +47,8 @@ sha1sums=(${sha1sums[@]} 
'7b9f92b247bf141012b4a83d5bad1b823e4eb2d1' \
'89eb79fa23e49a3cf0ee4929233fccbbd2b9367d' \
'9fd5280138a6a9d8bfa4c5239f9451869985de35' \
'2c0db438c6773d5bc9d1af3b637c4d8cd93bf4e7' \
-                         'e2c4c40700c1004c4924abc329fc4f75030350e0')
+                         'e2c4c40700c1004c4924abc329fc4f75030350e0' \
+                         'a3fa0995e26e03681f0ce20289587645e6a4e401')
# ***********

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

Reply via email to