pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/mit-krb5 PR 40152 by Tim Zingelman:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f8a7b6cd6dc6
branches:  trunk
changeset: 551255:f8a7b6cd6dc6
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Dec 11 09:42:25 2008 +0000

description:
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:

 security/mit-krb5/Makefile         |   4 ++--
 security/mit-krb5/distinfo         |   3 ++-
 security/mit-krb5/patches/patch-bm |  12 ++++++++++++
 3 files changed, 16 insertions(+), 3 deletions(-)

diffs (44 lines):

diff -r 38b13c4a151c -r f8a7b6cd6dc6 security/mit-krb5/Makefile
--- a/security/mit-krb5/Makefile        Thu Dec 11 09:34:12 2008 +0000
+++ b/security/mit-krb5/Makefile        Thu Dec 11 09:42:25 2008 +0000
@@ -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 -r 38b13c4a151c -r f8a7b6cd6dc6 security/mit-krb5/distinfo
--- a/security/mit-krb5/distinfo        Thu Dec 11 09:34:12 2008 +0000
+++ b/security/mit-krb5/distinfo        Thu Dec 11 09:42:25 2008 +0000
@@ -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-bj) = d0deae92b8b4d9ad671c98ccb3debd7a4216f646
 SHA1 (patch-bk) = 9bf37086a4e7661e8aacc2736d21f61db154263e
 SHA1 (patch-bl) = d1239c8c8279680a97f7c555907ac1b4ccfca6b4
+SHA1 (patch-bm) = d8e46f448fa4a51e3b8a42279cf1ab54b0598dd3
diff -r 38b13c4a151c -r f8a7b6cd6dc6 security/mit-krb5/patches/patch-bm
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/mit-krb5/patches/patch-bm        Thu Dec 11 09:42:25 2008 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index