diff options
author | ryoon <ryoon@pkgsrc.org> | 2018-09-26 05:04:09 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2018-09-26 05:04:09 +0000 |
commit | a3dbd821da014c9150812a028767973250716b05 (patch) | |
tree | 41035bedb06e6cd1d084d67ca332c8fd96ea70ae /security | |
parent | cc7e1f503b44f71665a3b3ae534d06767ed12d08 (diff) | |
download | pkgsrc-a3dbd821da014c9150812a028767973250716b05.tar.gz |
Fix segfault from -y case
* Bump PKGREVISION
Diffstat (limited to 'security')
-rw-r--r-- | security/apg/Makefile | 4 | ||||
-rw-r--r-- | security/apg/distinfo | 3 | ||||
-rw-r--r-- | security/apg/patches/patch-apg.c | 15 |
3 files changed, 19 insertions, 3 deletions
diff --git a/security/apg/Makefile b/security/apg/Makefile index cbd6cc0339b..b2222cffd26 100644 --- a/security/apg/Makefile +++ b/security/apg/Makefile @@ -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 --git a/security/apg/distinfo b/security/apg/distinfo index 6c25e2aa1c5..58139b42422 100644 --- a/security/apg/distinfo +++ b/security/apg/distinfo @@ -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 --git a/security/apg/patches/patch-apg.c b/security/apg/patches/patch-apg.c new file mode 100644 index 00000000000..20aaf49a198 --- /dev/null +++ b/security/apg/patches/patch-apg.c @@ -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)); + } |