summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorwiz <wiz>2008-12-11 09:42:25 +0000
committerwiz <wiz>2008-12-11 09:42:25 +0000
commit2896129656cccf2ec751190d17d6f3f86087fcfa (patch)
treed58f003b462ab06a072be994a57bcb686ba72e37 /security
parent99204e9db7e25ff57ce3c9311d76c6476a709285 (diff)
downloadpkgsrc-2896129656cccf2ec751190d17d6f3f86087fcfa.tar.gz
PR 40152 by Tim Zingelman:
lib/krb5/os/dnsglue.c uses statbuf structure before zeroing it. Solaris requires it be zeroed first... all kerberos programs that use dns lookup crash. Zeroing before use does not break anything on any other platforms. Bump PKGREVISION.
Diffstat (limited to 'security')
-rw-r--r--security/mit-krb5/Makefile4
-rw-r--r--security/mit-krb5/distinfo3
-rw-r--r--security/mit-krb5/patches/patch-bm12
3 files changed, 16 insertions, 3 deletions
diff --git a/security/mit-krb5/Makefile b/security/mit-krb5/Makefile
index b44dd815e6b..6f5d1db5b57 100644
--- a/security/mit-krb5/Makefile
+++ b/security/mit-krb5/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.43 2008/06/07 23:58:11 tonnerre Exp $
+# $NetBSD: Makefile,v 1.44 2008/12/11 09:42:25 wiz Exp $
DISTNAME= krb5-1.4.2
PKGNAME= mit-${DISTNAME:S/-signed$//}
-PKGREVISION= 6
+PKGREVISION= 7
CATEGORIES= security
MASTER_SITES= http://web.mit.edu/kerberos/dist/krb5/1.4/
DISTFILES= ${DISTNAME}-signed${EXTRACT_SUFX}
diff --git a/security/mit-krb5/distinfo b/security/mit-krb5/distinfo
index e2939cb3755..dbd61f07be4 100644
--- a/security/mit-krb5/distinfo
+++ b/security/mit-krb5/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.20 2008/06/07 23:58:11 tonnerre Exp $
+$NetBSD: distinfo,v 1.21 2008/12/11 09:42:25 wiz Exp $
SHA1 (krb5-1.4.2-signed.tar) = bbc03bd319d539fb9523c2545d80ba0784522e88
RMD160 (krb5-1.4.2-signed.tar) = 44500f5fab8e5959cf43f17f5f52f68e2dc73a1f
@@ -41,3 +41,4 @@ SHA1 (patch-bi) = ab91152460485ede492573ce379461e892196647
SHA1 (patch-bj) = d0deae92b8b4d9ad671c98ccb3debd7a4216f646
SHA1 (patch-bk) = 9bf37086a4e7661e8aacc2736d21f61db154263e
SHA1 (patch-bl) = d1239c8c8279680a97f7c555907ac1b4ccfca6b4
+SHA1 (patch-bm) = d8e46f448fa4a51e3b8a42279cf1ab54b0598dd3
diff --git a/security/mit-krb5/patches/patch-bm b/security/mit-krb5/patches/patch-bm
new file mode 100644
index 00000000000..7928c7f62f4
--- /dev/null
+++ b/security/mit-krb5/patches/patch-bm
@@ -0,0 +1,12 @@
+$NetBSD: patch-bm,v 1.1 2008/12/11 09:42:25 wiz Exp $
+
+--- lib/krb5/os/dnsglue.c.orig 2005-01-15 00:10:53.000000000 +0000
++++ lib/krb5/os/dnsglue.c
+@@ -87,6 +87,7 @@ krb5int_dns_init(struct krb5int_dns_stat
+ #endif
+
+ #if HAVE_RES_NSEARCH
++ bzero(&statbuf,(sizeof(struct __res_state)));
+ ret = res_ninit(&statbuf);
+ if (ret < 0)
+ return -1;