aboutsummaryrefslogtreecommitdiff
path: root/eBones/lib/libkrb
diff options
context:
space:
mode:
authorJustin T. Gibbs <gibbs@FreeBSD.org>1995-01-25 05:40:00 +0000
committerJustin T. Gibbs <gibbs@FreeBSD.org>1995-01-25 05:40:00 +0000
commit33ac11112d0d64552ede376a733197aa07a48a54 (patch)
tree41f9f919498d994f1b7ea33debfcf789efd3ec9b /eBones/lib/libkrb
parent7c5bf497e0e7dd7c21c14bc69a8b3dbc02ae2a8a (diff)
downloadsrc-33ac11112d0d64552ede376a733197aa07a48a54.tar.gz
src-33ac11112d0d64552ede376a733197aa07a48a54.zip
Notes
Diffstat (limited to 'eBones/lib/libkrb')
-rw-r--r--eBones/lib/libkrb/send_to_kdc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/eBones/lib/libkrb/send_to_kdc.c b/eBones/lib/libkrb/send_to_kdc.c
index aeaf3897a8da..15e4220fa2f2 100644
--- a/eBones/lib/libkrb/send_to_kdc.c
+++ b/eBones/lib/libkrb/send_to_kdc.c
@@ -4,7 +4,7 @@
* <Copyright.MIT>.
*
* from: send_to_kdc.c,v 4.20 90/01/02 13:40:37 jtkohl Exp $
- * $Id: send_to_kdc.c,v 1.2 1994/07/19 19:26:21 g89r4222 Exp $
+ * $Id: send_to_kdc.c,v 1.1.1.1 1994/09/30 14:50:03 csgr Exp $
*/
#ifndef lint
@@ -121,6 +121,7 @@ send_to_kdc(pkt,rpkt,realm)
hostlist = (struct hostent *) malloc(sizeof(struct hostent));
if (!hostlist)
return (/*errno */SKDC_CANT);
+ bzero(hostlist, sizeof(struct hostent));
if ((f = socket(AF_INET, SOCK_DGRAM, 0)) < 0) {
if (krb_debug)
fprintf(stderr,"%s: Can't open socket\n", prog);