/* -*-C-*-
-$Id: uxsock.c,v 1.39 2009/04/27 23:40:57 riastradh Exp $
+$Id$
Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
OS_channel_close_on_abort (channel);
{
struct sockaddr_in address;
+ memset((&address), 0, (sizeof (address)));
(address . sin_family) = AF_INET;
memcpy ((& (address . sin_addr)), host, (sizeof (address . sin_addr)));
(address . sin_port) = port;
OS_channel_close_on_abort (channel);
{
struct sockaddr_un address;
+ memset((&address), 0, (sizeof (address)));
(address . sun_family) = AF_UNIX;
strncpy ((address . sun_path), filename, (sizeof (address . sun_path)));
do_connect (s, ((struct sockaddr *) (&address)), (sizeof (address)));
struct sockaddr_in address;
int one = 1;
+ memset((&address), 0, (sizeof (address)));
(address . sin_family) = AF_INET;
memcpy ((& (address . sin_addr)), host, (sizeof (address . sin_addr)));
(address . sin_port) = port;
static struct sockaddr_in address;
socklen_t address_length = (sizeof (struct sockaddr_in));
int s;
+ memset((&address), 0, (sizeof (address)));
while (1)
{
s = (UX_accept ((CHANNEL_DESCRIPTOR (channel)),