pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/apg Fix segfault from -y case
details: https://anonhg.NetBSD.org/pkgsrc/rev/d369c463f6ad
branches: trunk
changeset: 385692:d369c463f6ad
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Wed Sep 26 05:04:09 2018 +0000
description:
Fix segfault from -y case
* Bump PKGREVISION
diffstat:
security/apg/Makefile | 4 ++--
security/apg/distinfo | 3 ++-
security/apg/patches/patch-apg.c | 15 +++++++++++++++
3 files changed, 19 insertions(+), 3 deletions(-)
diffs (46 lines):
diff -r f84d59697ef1 -r d369c463f6ad security/apg/Makefile
--- a/security/apg/Makefile Wed Sep 26 01:11:19 2018 +0000
+++ b/security/apg/Makefile Wed Sep 26 05:04:09 2018 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.25 2018/08/22 09:46:17 wiz Exp $
+# $NetBSD: Makefile,v 1.26 2018/09/26 05:04:09 ryoon Exp $
#
DISTNAME= apg-2.3.0b
-PKGREVISION= 5
+PKGREVISION= 6
CATEGORIES= security
#MASTER_SITES= http://www.adel.nursat.kz/apg/download/
diff -r f84d59697ef1 -r d369c463f6ad security/apg/distinfo
--- a/security/apg/distinfo Wed Sep 26 01:11:19 2018 +0000
+++ b/security/apg/distinfo Wed Sep 26 05:04:09 2018 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.8 2015/11/04 01:17:41 agc Exp $
+$NetBSD: distinfo,v 1.9 2018/09/26 05:04:09 ryoon Exp $
SHA1 (apg-2.3.0b.tar.gz) = d729c939adb659c05fd0ea3d9c03842c6fe86fed
RMD160 (apg-2.3.0b.tar.gz) = 18f9955d6fdb721bec26613860b312d7fea6fba7
SHA512 (apg-2.3.0b.tar.gz) = 3112d2267f2311f960a52fa268b55a5faf0250a4a8c5e7444f0c1326afa2844a476a54befcf79e5b8532d74c53f6f58ffc420591c8c36798dd82b43c14869e1a
Size (apg-2.3.0b.tar.gz) = 109995 bytes
SHA1 (patch-aa) = 59d5537da45c7fb05480d12d1e73b04d19eed63f
+SHA1 (patch-apg.c) = 212c6b8b61127243428ffa2bfbab8424bde0a7da
diff -r f84d59697ef1 -r d369c463f6ad security/apg/patches/patch-apg.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/apg/patches/patch-apg.c Wed Sep 26 05:04:09 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-apg.c,v 1.1 2018/09/26 05:04:09 ryoon Exp $
+
+* 11th for NULL termination. Fix -y segfault
+
+--- apg.c.orig 2003-08-07 15:40:39.000000000 +0000
++++ apg.c
+@@ -709,7 +709,7 @@ print_help (void)
+ */
+ char * crypt_passstring (const char *p)
+ {
+- char salt[10];
++ char salt[11];
+ gen_rand_pass (salt, 10, 10, S_SL|S_CL|S_NB);
+ return (crypt(p, salt));
+ }
Home |
Main Index |
Thread Index |
Old Index