This was the wrong solution.
This commit is contained in:
parent
a14313bb27
commit
f49404522f
2 changed files with 1 additions and 30 deletions
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: patch-sum,v 1.31 2000/11/09 07:33:06 mycroft Exp $
|
||||
$NetBSD: patch-sum,v 1.32 2000/11/09 08:21:15 mycroft Exp $
|
||||
|
||||
MD5 (patch-aa) = a07a4956a8c6a91fce0ef653b59c902f
|
||||
MD5 (patch-ab) = dfa8ac0ffaac96293904adb6372c5b8d
|
||||
|
@ -11,5 +11,4 @@ MD5 (patch-ah) = 8f6975c0fb5454958416f2b87d789c99
|
|||
MD5 (patch-ai) = ebd71ac01fc02d0fa639af6348d1926e
|
||||
MD5 (patch-aj) = dae5f7b6f80a833fd63721c5c751fe0b
|
||||
MD5 (patch-ak) = 287b726e245828a0ef5801a621573e09
|
||||
MD5 (patch-al) = f3d66fcac5c26d8ade008ceb6e4ec731
|
||||
MD5 (patch-am) = ae0011f145fee15042a104d9a67a7b44
|
||||
|
|
|
@ -1,28 +0,0 @@
|
|||
$NetBSD: patch-al,v 1.4 2000/11/09 07:26:29 mycroft Exp $
|
||||
|
||||
--- nsprpub/pr/src/misc/prnetdb.c.orig Wed Mar 8 16:27:18 2000
|
||||
+++ nsprpub/pr/src/misc/prnetdb.c Thu Nov 9 07:20:40 2000
|
||||
@@ -924,6 +924,7 @@
|
||||
PRStatus rv = PR_SUCCESS;
|
||||
if (!_pr_initialized) _PR_ImplicitInitialization();
|
||||
|
||||
+ memset(addr, 0, sizeof(*addr));
|
||||
addr->inet.family = AF_INET;
|
||||
addr->inet.port = htons(port);
|
||||
switch (val)
|
||||
@@ -949,6 +950,7 @@
|
||||
PRStatus rv = PR_SUCCESS;
|
||||
if (!_pr_initialized) _PR_ImplicitInitialization();
|
||||
|
||||
+ memset(addr, 0, sizeof(*addr));
|
||||
addr->raw.family = af;
|
||||
if (af == PR_AF_INET6)
|
||||
{
|
||||
@@ -1275,6 +1277,7 @@
|
||||
PRStatus status = PR_SUCCESS;
|
||||
PRIntn rv;
|
||||
|
||||
+ memset(addr, 0, sizeof(*addr));
|
||||
#if defined(_PR_INET6)
|
||||
rv = inet_pton(AF_INET6, string, &addr->ipv6.ip);
|
||||
if (1 == rv)
|
Loading…
Reference in a new issue