summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2002-05-08 16:20:56 +0000
committertaca <taca@pkgsrc.org>2002-05-08 16:20:56 +0000
commit63aea3f4ee30523825c2f2165b3a80812211ef07 (patch)
tree787b4628e20008d1a204f9015f235dbf55156b91 /net
parent4fa38e3d4db31e305a4fb08e9c08ba8721902a77 (diff)
downloadpkgsrc-63aea3f4ee30523825c2f2165b3a80812211ef07.tar.gz
Make sure to initialize the last parameter of explore_fqdn().
This fix getaddrinfo() from crash, reported as PR 16683. Bump to bind 8.3.1nb1.
Diffstat (limited to 'net')
-rw-r--r--net/bind8/Makefile3
-rw-r--r--net/bind8/distinfo3
-rw-r--r--net/bind8/patches/patch-af13
3 files changed, 17 insertions, 2 deletions
diff --git a/net/bind8/Makefile b/net/bind8/Makefile
index ed16537e37f..c6760f4378c 100644
--- a/net/bind8/Makefile
+++ b/net/bind8/Makefile
@@ -1,11 +1,12 @@
#
-# $NetBSD: Makefile,v 1.11 2002/03/23 05:34:54 itojun Exp $
+# $NetBSD: Makefile,v 1.12 2002/05/08 16:20:56 taca Exp $
#
# FreeBSD Id: Makefile,v 1.12 1999/06/28 21:25:07 billf Exp
#
DISTNAME= bind
PKGNAME= bind-8.3.1
+PKGREVISION= 1
WRKSRC= ${WRKDIR}/src
CATEGORIES= net
MASTER_SITES= ftp://ftp.isc.org/isc/bind/src/8.3.1/
diff --git a/net/bind8/distinfo b/net/bind8/distinfo
index 1a43aa858c8..d12686f353f 100644
--- a/net/bind8/distinfo
+++ b/net/bind8/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2002/03/23 06:18:07 itojun Exp $
+$NetBSD: distinfo,v 1.8 2002/05/08 16:20:56 taca Exp $
SHA1 (bind/8.3.1/bind-src.tar.gz) = e2f7fb1dd86dfa58ad6a8a9d2c7c0fd21c8f7640
Size (bind/8.3.1/bind-src.tar.gz) = 1392391 bytes
@@ -9,3 +9,4 @@ SHA1 (patch-ab) = 0d0e2e1a8cb58fc6c11b60fcc69fe496251f7659
SHA1 (patch-ac) = fdf75b6b53fe4b9ab6ca74b90400edda54a825b1
SHA1 (patch-ad) = 6ac74cfd60df2a9eb9b3dc7c74dab1dc68feadad
SHA1 (patch-ae) = 06268d28805c287721954de0676abf9327f64e13
+SHA1 (patch-af) = 9dacac60b3ad0101330144d29a3f0ee4108fe781
diff --git a/net/bind8/patches/patch-af b/net/bind8/patches/patch-af
new file mode 100644
index 00000000000..a06e0eec6d1
--- /dev/null
+++ b/net/bind8/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1 2002/05/08 16:20:57 taca Exp $
+
+--- lib/irs/getaddrinfo.c.orig Fri Nov 30 09:36:54 2001
++++ lib/irs/getaddrinfo.c
+@@ -602,7 +602,7 @@
+ char tmp[NS_MAXDNAME];
+ const char *cp;
+
+- result = NULL;
++ *res = NULL;
+
+ /*
+ * if the servname does not match socktype/protocol, ignore it.