Received: by mail.netbsd.org (Postfix, from userid 605) id 9773584DC2; Mon, 7 Oct 2019 08:56:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 1CB5684DC1 for ; Mon, 7 Oct 2019 08:56:29 +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 59k3nwg_ry7l for ; Mon, 7 Oct 2019 08:56:28 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 8E0BC84D27 for ; Mon, 7 Oct 2019 08:56:28 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 82E16FBF4; Mon, 7 Oct 2019 08:56:28 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_157043858845400" MIME-Version: 1.0 Date: Mon, 7 Oct 2019 08:56:28 +0000 From: "Benny Siegert" Subject: CVS commit: [pkgsrc-2019Q3] pkgsrc/security/netpgpverify/files To: pkgsrc-changes@NetBSD.org Reply-To: bsiegert@netbsd.org X-Mailer: log_accum Message-Id: <20191007085628.82E16FBF4@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. --_----------=_157043858845400 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: bsiegert Date: Mon Oct 7 08:56:28 UTC 2019 Modified Files: pkgsrc/security/netpgpverify/files [pkgsrc-2019Q3]: bignum.c verify.h Log Message: Pullup ticket #6067 - requested by agc security/netpgpverify: build fix Revisions pulled up: - security/netpgpverify/files/bignum.c 1.11 - security/netpgpverify/files/verify.h 1.41 --- 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.10.6.1 pkgsrc/security/netpgpverify/files/bignum.c cvs rdiff -u -r1.40 -r1.40.6.1 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. --_----------=_157043858845400 Content-Disposition: inline Content-Length: 1292 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.10.6.1 --- pkgsrc/security/netpgpverify/files/bignum.c:1.10 Wed Jan 16 00:33:12 2019 +++ pkgsrc/security/netpgpverify/files/bignum.c Mon Oct 7 08:56:28 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.40.6.1 --- pkgsrc/security/netpgpverify/files/verify.h:1.40 Thu Jan 17 17:26:23 2019 +++ pkgsrc/security/netpgpverify/files/verify.h Mon Oct 7 08:56:28 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 --_----------=_157043858845400--