Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=fwnext.git;a=commitdiff;h=b525301c3c3e2d24623ebc7d5c12de4f29b567b4
commit b525301c3c3e2d24623ebc7d5c12de4f29b567b4 Author: crazy <[email protected]> Date: Sun Oct 4 09:59:19 2015 +0200 ppp-2.4.7-1-x86_64 * pkgver++, new tc + removed patches + fix up2date diff --git a/source/base/ppp/CVE-2014-3158.patch b/source/base/ppp/CVE-2014-3158.patch deleted file mode 100644 index 8816362..0000000 --- a/source/base/ppp/CVE-2014-3158.patch +++ /dev/null @@ -1,58 +0,0 @@ -From 7658e8257183f062dc01f87969c140707c7e52cb Mon Sep 17 00:00:00 2001 -From: Paul Mackerras <[email protected]> -Date: Fri, 1 Aug 2014 16:05:42 +1000 -Subject: [PATCH] pppd: Eliminate potential integer overflow in option parsing - -When we are reading in a word from an options file, we maintain a count -of the length we have seen so far in 'len', which is an int. When len -exceeds MAXWORDLEN - 1 (i.e. 1023) we cease storing characters in the -buffer but we continue to increment len. Since len is an int, it will -wrap around to -2147483648 after it reaches 2147483647. At that point -our test of (len < MAXWORDLEN-1) will succeed and we will start writing -characters to memory again. - -This may enable an attacker to overwrite the heap and thereby corrupt -security-relevant variables. For this reason it has been assigned a -CVE identifier, CVE-2014-3158. - -This fixes the bug by ceasing to increment len once it reaches MAXWORDLEN. - -Reported-by: Lee Campbell <[email protected]> -Signed-off-by: Paul Mackerras <[email protected]> ---- - pppd/options.c | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -diff --git a/pppd/options.c b/pppd/options.c -index 45fa742..e9042d1 100644 ---- a/pppd/options.c -+++ b/pppd/options.c -@@ -1289,9 +1289,10 @@ getword(f, word, newlinep, filename) - /* - * Store the resulting character for the escape sequence. - */ -- if (len < MAXWORDLEN-1) -+ if (len < MAXWORDLEN) { - word[len] = value; -- ++len; -+ ++len; -+ } - - if (!got) - c = getc(f); -@@ -1329,9 +1330,10 @@ getword(f, word, newlinep, filename) - /* - * An ordinary character: store it in the word and get another. - */ -- if (len < MAXWORDLEN-1) -+ if (len < MAXWORDLEN) { - word[len] = c; -- ++len; -+ ++len; -+ } - - c = getc(f); - } --- -1.8.3.1 - diff --git a/source/base/ppp/FrugalBuild b/source/base/ppp/FrugalBuild index 66be45a..53a3951 100644 --- a/source/base/ppp/FrugalBuild +++ b/source/base/ppp/FrugalBuild @@ -3,26 +3,19 @@ # Contributor: Miklos Vajna <[email protected]> pkgname=ppp -pkgver=2.4.5 -pkgrel=4 +pkgver=2.4.7 +pkgrel=1 pkgdesc="The PPP (Point-to-Point Protocol) daemon" url="http://www.samba.org/ppp/" groups=('base') archs=('i686' 'x86_64' 'arm') -depends=('glibc>=2.8-3') +depends=('glibc>=2.22-3') backup=('etc/ppp/chap-secrets' 'etc/ppp/pap-secrets' 'etc/ppp/options' 'etc/ppp/ip-up' 'etc/ppp/ip-down') -up2date="wget --passive-ftp -O - -q ftp://ftp.samba.org/pub/ppp/|grep ppp-.[0-9\.]*\.tar\.gz|tail -n 1|sed 's/.*ppp-\([0-9\.]*\)\.tar\.gz<.*/\1/'" -source=(http://www.samba.org/ftp/ppp/ppp-$pkgver.tar.gz ip-up ip-down fixes.patch) -sha1sums=('cb977b31584e3488e08a643aaa672fdb229d2e78' \ +up2date="Flasttar https://www.samba.org/ftp/ppp/" +source=(http://www.samba.org/ftp/ppp/ppp-$pkgver.tar.gz ip-up ip-down) +sha1sums=('808b023172ea7189bc0d49935bf37a5382a1fe13' \ '52b2e62a47050498846aa769495628da2a00fb31' \ - '09472529dfcf1f47d7e7f65067291f651c7ac476' \ - '7c2ed3bcf34b750f6c29f95ddf43332d09a7a793') - - -# FSA fix *** -source=(${source[@]} CVE-2014-3158.patch) -sha1sums=(${sha1sums[@]} '23f51e6f45969f61c07fafbae076e1da5106fcdc') -# *********** + '09472529dfcf1f47d7e7f65067291f651c7ac476') build() diff --git a/source/base/ppp/fixes.patch b/source/base/ppp/fixes.patch deleted file mode 100644 index 609bbd7..0000000 --- a/source/base/ppp/fixes.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -ur a/pppd/ipv6cp.c b/pppd/ipv6cp.c ---- a/pppd/ipv6cp.c 2009-11-16 16:26:07.000000000 -0600 -+++ b/pppd/ipv6cp.c 2013-09-25 05:54:54.462298567 -0500 -@@ -151,6 +151,7 @@ - */ - - #include <stdio.h> -+#include <stdlib.h> - #include <string.h> - #include <unistd.h> - #include <netdb.h> _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
