pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/netpgpverify/files Bump netpgpverify and libn...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8208364c95b7
branches: trunk
changeset: 402079:8208364c95b7
user: agc <agc%pkgsrc.org@localhost>
date: Thu Oct 03 20:18:12 2019 +0000
description:
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 00be74e2bb7e -r 8208364c95b7 security/netpgpverify/files/bignum.c
--- a/security/netpgpverify/files/bignum.c Thu Oct 03 20:09:52 2019 +0000
+++ b/security/netpgpverify/files/bignum.c Thu Oct 03 20:18:12 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 00be74e2bb7e -r 8208364c95b7 security/netpgpverify/files/verify.h
--- a/security/netpgpverify/files/verify.h Thu Oct 03 20:09:52 2019 +0000
+++ b/security/netpgpverify/files/verify.h Thu Oct 03 20:18:12 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