diff options
author | taca <taca@pkgsrc.org> | 2002-05-08 16:20:56 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2002-05-08 16:20:56 +0000 |
commit | 63aea3f4ee30523825c2f2165b3a80812211ef07 (patch) | |
tree | 787b4628e20008d1a204f9015f235dbf55156b91 /net/bind8/patches | |
parent | 4fa38e3d4db31e305a4fb08e9c08ba8721902a77 (diff) | |
download | pkgsrc-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/bind8/patches')
-rw-r--r-- | net/bind8/patches/patch-af | 13 |
1 files changed, 13 insertions, 0 deletions
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. |