Path: galaxy.trc.rwcp.or.jp!coconuts.jaist!wnoc-tyo-news!newsbase.nisiq.net!news.win.or.jp!ayamura-news.win.or.jp!news.ayamura.tama.or.jp!tamaru-news!kuee-news!kuis-news!s2000!beauty!clair.noc.fujita-hu.ac.jp!fame.fujita-hu.ac.jp!chiba-ns!news.chiba-u.ac.jp!eclnews!sinetnews!news.nacsis.ac.jp!alps!cryst!escargot!t-server!news.nc.u-tokyo.ac.jp!tss
From: tss@a.u-tokyo.ac.jp (SASABE Tetsuro)
Newsgroups: fj.sys.sun
Subject: Re: $B$3$N%W%m%0%i%`(BSunos$B$GF0$-$^$9!)(B
Date: 29 Jan 1997 19:05:04 GMT
Organization: Graduate School of Agricultural and Life Science, the University
	of Tokyo, JAPAN.
Lines: 24
Message-ID: <5co6r7$jjh@news.nc.u-tokyo.ac.jp>
References: <01bc0db4$98a0a330$540cf8ca@compaq1>
	<AYA.97Jan29195825@orestes.is.s.u-tokyo.ac.jp>
NNTP-Posting-Host: kikori.uf.a.u-tokyo.ac.jp
In-reply-to: aya@is.s.u-tokyo.ac.jp's message of 29 Jan 1997 10:58:25 GMT
Xref: galaxy.trc.rwcp.or.jp fj.sys.sun:8808
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.sys.sun&nb=8808&hd=a
X-reformat-date: Mon, 18 Oct 2004 15:18:22 +0900
X-reformat-comment: Tabs were expanded into 4 column tabstops by the Galaxy's archiver. See http://katsu.watanabe.name/ancientfj/galaxy-format.html for more info.

In article <AYA.97Jan29195825@orestes.is.s.u-tokyo.ac.jp>
    aya@is.s.u-tokyo.ac.jp (AYATSUKA Yuji) writes:

 |    for (i = 0; i < 8; i++)
 |  sin.sin_zero[i] = '\0';

  bzero() $B$9$k$h$&$J5$$,$7$^$9!#$G$b$=$l$G85$N%W%m%0%i%`$,F0$/$+$I$&$+(B
$B$OCN$i$J$$!D!#(B

--- hoge.c-distThu Jan 30 04:04:31 1997
+++ hoge.cThu Jan 30 04:04:36 1997
@@ -34,6 +34,7 @@
         perror("server: socket");
         exit(1);
     }
+    bzero((char *)&sin, sizeof(sin));
     sin.sin_family = PF_INET;
     sin.sin_port = htons(2001);
     bcopy(hp->h_addr, &sin.sin_addr, hp->h_length);

--
$B:{It(B $BE/O:!J$5$5$Y(B $B$F$D$m$&!K(B                       tss@a.u-tokyo.ac.jp
$B8f6!J*8f7v2^$J$i$S$K%U%!%s%/%i%V$N57$O8G$/$4<-B`?=$7>e$2$^$9!#(B
PGP Key fingerprint =  C9 D8 FD 45 F4 4E 07 58  FA 2A 98 73 9E 97 9A 08 
