From e40377974e063789f358c4ef688e18ca07d7549d Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Sun, 25 May 1997 17:44:38 +0000 Subject: [PATCH] Zero local address. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1778 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/kx/common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/appl/kx/common.c b/appl/kx/common.c index 424e8e566..1c636e361 100644 --- a/appl/kx/common.c +++ b/appl/kx/common.c @@ -151,6 +151,7 @@ get_xsockets (int *unix_socket, int *tcp_socket) umask (oldmask); free (dir); + memset(&local, 0, sizeof(local)); local.s_addr = htonl(INADDR_LOOPBACK); for(dpy = 4; dpy < 256; ++dpy) {