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/f06b52c35d6a
branches: trunk
changeset: 341532:f06b52c35d6a
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 941728ee3fb0 -r f06b52c35d6a 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 941728ee3fb0 -r f06b52c35d6a 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