pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/libtasn1 Use <ctype.h> properly. Noted in PR ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a5aad8835958
branches:  trunk
changeset: 379319:a5aad8835958
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Sun Apr 29 03:41:42 2018 +0000

description:
Use <ctype.h> properly. Noted in PR 51821.

diffstat:

 security/libtasn1/distinfo                 |   3 ++-
 security/libtasn1/patches/patch-lib_ASN1.y |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r f29075a52df7 -r a5aad8835958 security/libtasn1/distinfo
--- a/security/libtasn1/distinfo        Sat Apr 28 23:33:25 2018 +0000
+++ b/security/libtasn1/distinfo        Sun Apr 29 03:41:42 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.49 2017/08/18 21:53:47 adam Exp $
+$NetBSD: distinfo,v 1.50 2018/04/29 03:41:42 dholland Exp $
 
 SHA1 (libtasn1-4.12.tar.gz) = f9a05b3b8acf319d89f07267407c03b184c4e3b0
 RMD160 (libtasn1-4.12.tar.gz) = a3062789a73655c83f99a12af8aab3c92c8acdf8
 SHA512 (libtasn1-4.12.tar.gz) = 6c551670949881193e39122f72948e4999ff1ba377f9ee5963d0a4ad1b84256e4fe42e9f6d6a2aa9f7d4ef7acc0e5174fb5cc3df5298524cdeda92f4b8c104f7
 Size (libtasn1-4.12.tar.gz) = 1888450 bytes
+SHA1 (patch-lib_ASN1.y) = 5d8cf15002d29feba370e7e44397df663ee24bb0
diff -r f29075a52df7 -r a5aad8835958 security/libtasn1/patches/patch-lib_ASN1.y
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libtasn1/patches/patch-lib_ASN1.y        Sun Apr 29 03:41:42 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-lib_ASN1.y,v 1.1 2018/04/29 03:41:43 dholland Exp $
+
+Use <ctype.h> correctly.
+
+--- lib/ASN1.y~        2017-01-25 08:45:09.000000000 +0000
++++ lib/ASN1.y
+@@ -575,7 +575,7 @@ _asn1_yylex ()
+ 
+       /* Is STRING a number? */
+       for (k = 0; k < counter; k++)
+-        if (!isdigit ((int)string[k]))
++        if (!isdigit ((unsigned char)string[k]))
+           break;
+       if (k >= counter)
+         {



Home | Main Index | Thread Index | Old Index