diff options
author | Jacques Vidrine <nectar@FreeBSD.org> | 2002-06-26 08:48:34 +0000 |
---|---|---|
committer | Jacques Vidrine <nectar@FreeBSD.org> | 2002-06-26 08:48:34 +0000 |
commit | 9a370b24b59520e01c951eb7592c9cd9aef8aae7 (patch) | |
tree | 0a24096b1216c9c32ea3b6947f47e35f0b9c0510 /lib/libc | |
parent | dd247f73712c73347b11c72af887c7a6c08ad4e7 (diff) | |
download | src-9a370b24b59520e01c951eb7592c9cd9aef8aae7.tar.gz src-9a370b24b59520e01c951eb7592c9cd9aef8aae7.zip |
Initialize a pointer that was left uninitialized with the previous
commit.
Notes
Notes:
svn path=/head/; revision=98872
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/net/getnetbydns.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/net/getnetbydns.c b/lib/libc/net/getnetbydns.c index 324c7cd5548d..6df435c36e6d 100644 --- a/lib/libc/net/getnetbydns.c +++ b/lib/libc/net/getnetbydns.c @@ -141,6 +141,7 @@ static char *net_aliases[MAXALIASES], netbuf[PACKETSZ]; ancount = ntohs(hp->ancount); /* #/records in the answer section */ qdcount = ntohs(hp->qdcount); /* #/entries in the question section */ bp = netbuf; + ep = netbuf + sizeof(netbuf); cp = answer->buf + HFIXEDSZ; if (!qdcount) { if (hp->aa) |