Received: by mail.netbsd.org (Postfix, from userid 605) id 210D984E62; Thu, 3 Oct 2019 20:18:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 852CE84E4D for ; Thu, 3 Oct 2019 20:18:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id JkDTtLPM0Are for ; Thu, 3 Oct 2019 20:18:19 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id EDEFA84E78 for ; Thu, 3 Oct 2019 20:18:13 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 30235FBF4; Thu, 3 Oct 2019 20:18:13 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_157013389382380" MIME-Version: 1.0 Date: Thu, 3 Oct 2019 20:18:13 +0000 From: "Alistair G. Crooks" Subject: CVS commit: pkgsrc/security/netpgpverify/files To: pkgsrc-changes@NetBSD.org Reply-To: agc@netbsd.org X-Mailer: log_accum Message-Id: <20191003201813.30235FBF4@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_157013389382380 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: agc Date: Thu Oct 3 20:18:13 UTC 2019 Modified Files: pkgsrc/security/netpgpverify/files: bignum.c verify.h Log Message: Bump netpgpverify and libnetpgpverify to 20191003 - fix problem pointed out by mrg and gcc8: + don't read an automatic array element we haven't already written To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 pkgsrc/security/netpgpverify/files/bignum.c cvs rdiff -u -r1.40 -r1.41 pkgsrc/security/netpgpverify/files/verify.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_157013389382380 Content-Disposition: inline Content-Length: 1284 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/security/netpgpverify/files/bignum.c diff -u pkgsrc/security/netpgpverify/files/bignum.c:1.10 pkgsrc/security/netpgpverify/files/bignum.c:1.11 --- pkgsrc/security/netpgpverify/files/bignum.c:1.10 Wed Jan 16 00:33:12 2019 +++ pkgsrc/security/netpgpverify/files/bignum.c Thu Oct 3 20:18:12 2019 @@ -2308,7 +2308,7 @@ fast_col_array_multiply(mp_int * a, mp_i tmpc = c->dp; for (ix = 0; ix < pa+1; ix++) { /* now extract the previous digit [below the carry] */ - *tmpc++ = W[ix]; + *tmpc++ = (ix < pa) ? W[ix] : 0; } /* clear unused digits [that existed in the old copy of c] */ Index: pkgsrc/security/netpgpverify/files/verify.h diff -u pkgsrc/security/netpgpverify/files/verify.h:1.40 pkgsrc/security/netpgpverify/files/verify.h:1.41 --- pkgsrc/security/netpgpverify/files/verify.h:1.40 Thu Jan 17 17:26:23 2019 +++ pkgsrc/security/netpgpverify/files/verify.h Thu Oct 3 20:18:13 2019 @@ -23,9 +23,9 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #ifndef NETPGP_VERIFY_H_ -#define NETPGP_VERIFY_H_ 20190117 +#define NETPGP_VERIFY_H_ 20191003 -#define NETPGPVERIFY_VERSION "netpgpverify portable 20190117" +#define NETPGPVERIFY_VERSION "netpgpverify portable 20191003" #include --_----------=_157013389382380--