From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id CE0361384B4 for ; Fri, 11 Dec 2015 00:31:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 76D80E0882; Fri, 11 Dec 2015 00:31:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 04193E0882 for ; Fri, 11 Dec 2015 00:31:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8BACE340924 for ; Fri, 11 Dec 2015 00:31:30 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F34BCAF3 for ; Fri, 11 Dec 2015 00:31:27 +0000 (UTC) From: "Mike Pagano" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Pagano" Message-ID: <1449793877.69c780db4978344f372352a5887d76d8c3ef0ea6.mpagano@gentoo> Subject: [gentoo-commits] proj/linux-patches:4.3 commit in: / X-VCS-Repository: proj/linux-patches X-VCS-Files: 0000_README 1001_linux-4.3.2.patch X-VCS-Directories: / X-VCS-Committer: mpagano X-VCS-Committer-Name: Mike Pagano X-VCS-Revision: 69c780db4978344f372352a5887d76d8c3ef0ea6 X-VCS-Branch: 4.3 Date: Fri, 11 Dec 2015 00:31:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: d777fbc5-32e2-422b-9e4a-9f7d98690e3b X-Archives-Hash: a224f9cd1207ee97dbcb268d55d60cde commit: 69c780db4978344f372352a5887d76d8c3ef0ea6 Author: Mike Pagano gentoo org> AuthorDate: Fri Dec 11 00:31:17 2015 +0000 Commit: Mike Pagano gentoo org> CommitDate: Fri Dec 11 00:31:17 2015 +0000 URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=69c780db Linux patch 4.3.2 0000_README | 8 +++++++- 1001_linux-4.3.2.patch | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+), 1 deletion(-) diff --git a/0000_README b/0000_README index eb12e02..5fc79da 100644 --- a/0000_README +++ b/0000_README @@ -43,7 +43,13 @@ EXPERIMENTAL Individual Patch Descriptions: -------------------------------------------------------------------------- -Patch: 1000_linux-4.3.1.patch From: http://www.kernel.org Desc: Linux 4.3.1 +Patch: 1000_linux-4.3.1.patch +From: http://www.kernel.org +Desc: Linux 4.3.1 + +Patch: 1001_linux-4.3.2.patch +From: http://www.kernel.org +Desc: Linux 4.3.2 Patch: 1500_XATTR_USER_PREFIX.patch From: https://bugs.gentoo.org/show_bug.cgi?id=470644 diff --git a/1001_linux-4.3.2.patch b/1001_linux-4.3.2.patch new file mode 100644 index 0000000..c3c1b19 --- /dev/null +++ b/1001_linux-4.3.2.patch @@ -0,0 +1,49 @@ +diff --git a/Makefile b/Makefile +index 266eeacc1490..1a4953b3e10f 100644 +--- a/Makefile ++++ b/Makefile +@@ -1,6 +1,6 @@ + VERSION = 4 + PATCHLEVEL = 3 +-SUBLEVEL = 1 ++SUBLEVEL = 2 + EXTRAVERSION = + NAME = Blurry Fish Butt + +diff --git a/crypto/asymmetric_keys/x509_cert_parser.c b/crypto/asymmetric_keys/x509_cert_parser.c +index af71878dc15b..021d39c0ba75 100644 +--- a/crypto/asymmetric_keys/x509_cert_parser.c ++++ b/crypto/asymmetric_keys/x509_cert_parser.c +@@ -531,7 +531,11 @@ int x509_decode_time(time64_t *_t, size_t hdrlen, + if (*p != 'Z') + goto unsupported_time; + +- mon_len = month_lengths[mon]; ++ if (year < 1970 || ++ mon < 1 || mon > 12) ++ goto invalid_time; ++ ++ mon_len = month_lengths[mon - 1]; + if (mon == 2) { + if (year % 4 == 0) { + mon_len = 29; +@@ -543,14 +547,12 @@ int x509_decode_time(time64_t *_t, size_t hdrlen, + } + } + +- if (year < 1970 || +- mon < 1 || mon > 12 || +- day < 1 || day > mon_len || +- hour < 0 || hour > 23 || +- min < 0 || min > 59 || +- sec < 0 || sec > 59) ++ if (day < 1 || day > mon_len || ++ hour > 23 || ++ min > 59 || ++ sec > 59) + goto invalid_time; +- ++ + *_t = mktime64(year, mon, day, hour, min, sec); + return 0; +