cvsdist 2ec925
--- bsd-finger-0.16/finger/util.c.broken	Wed May 31 16:56:46 2000
cvsdist 2ec925
+++ bsd-finger-0.16/finger/util.c	Wed May 31 16:57:45 2000
cvsdist 2ec925
@@ -350,6 +350,7 @@
cvsdist 2ec925
 		eprintf("finger: Out of space.\n");
cvsdist 2ec925
 		exit(1);
cvsdist 2ec925
 	}
cvsdist 2ec925
+	memset(p, 0, sizeof(PERSON));
cvsdist 2ec925
 	return(p);
cvsdist 2ec925
 }
cvsdist 2ec925
 
cvsdist 2ec925
@@ -362,6 +363,7 @@
cvsdist 2ec925
 		eprintf("finger: Out of space.\n");
cvsdist 2ec925
 		exit(1);
cvsdist 2ec925
 	}
cvsdist 2ec925
+	memset(w, 0, sizeof(WHERE));
cvsdist 2ec925
 	if (pn->whead == NULL)
cvsdist 2ec925
 		pn->whead = pn->wtail = w;
cvsdist 2ec925
 	else {