summary refs log tree commit diff
path: root/resolv
diff options
context:
space:
mode:
Diffstat (limited to 'resolv')
-rw-r--r--resolv/gethnamaddr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/resolv/gethnamaddr.c b/resolv/gethnamaddr.c
index 14758df231..ed87155807 100644
--- a/resolv/gethnamaddr.c
+++ b/resolv/gethnamaddr.c
@@ -636,7 +636,7 @@ gethostbyaddr(addr, len, af)
 	int n, size;
 	querybuf buf;
 	register struct hostent *hp;
-	char qbuf[MAXDNAME+1], *qp;
+	char qbuf[MAXDNAME+1], *qp = NULL;
 #ifdef SUNSECURITY
 	register struct hostent *rhp;
 	char **haddr;