pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/pkgsrc-2019Q3]: pkgsrc/security/netpgpverify/files Pullup ticket #606...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e2df643529fe
branches:  pkgsrc-2019Q3
changeset: 408094:e2df643529fe
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Mon Oct 07 08:56:28 2019 +0000

description:
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

diffstat:

 security/netpgpverify/files/bignum.c |  2 +-
 security/netpgpverify/files/verify.h |  4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f51baf68a7e8 -r e2df643529fe security/netpgpverify/files/bignum.c
--- a/security/netpgpverify/files/bignum.c      Sat Oct 05 19:53:25 2019 +0000
+++ b/security/netpgpverify/files/bignum.c      Mon Oct 07 08:56:28 2019 +0000
@@ -2308,7 +2308,7 @@
                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] */
diff -r f51baf68a7e8 -r e2df643529fe security/netpgpverify/files/verify.h
--- a/security/netpgpverify/files/verify.h      Sat Oct 05 19:53:25 2019 +0000
+++ b/security/netpgpverify/files/verify.h      Mon Oct 07 08:56:28 2019 +0000
@@ -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 <sys/types.h>
 



Home | Main Index | Thread Index | Old Index