[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freewnn:00414] Re: about uum for jserver
- To: freewnn@tomo.gr.jp
- Subject: [freewnn:00414] Re: about uum for jserver
- From: Yabuki Youichi <yabuki@XXXX>
- Date: Thu, 13 Jul 2000 21:08:37 +0900
- In-Reply-To: Your message of "Thu, 13 Jul 2000 19:15:38 +0900." <20000713191730S.iijima@laser5.co.jp>
- Reply-To: freewnn@tomo.gr.jp
> $B$3$s$K$A$O!"$$$$$8$^(B@LASER5$B$G$9!#(B
> $BA0$N(B patch(juum.patch)$B$K!"@DLn$5$s$N(B Security patch$B$r(B
> $B2C$($F$^$H$a$?(B patch(juum2.patch)$B$rE:IU$$$?$7$^$9!#(B
> FreeWnn-1.1.1-a017 $B$X$N%Q%C%A$G$9!#(B
> diff -Nurd FreeWnn-1.1.1-a017/Xsi/Wnn/jlib/js.c FreeWnn-1.1.1-a017.fix/Xsi/Wnn/jlib/js.c
> --- FreeWnn-1.1.1-a017/Xsi/Wnn/jlib/js.c Fri Mar 3 00:32:39 2000
> +++ FreeWnn-1.1.1-a017.fix/Xsi/Wnn/jlib/js.c Thu Jul 13 14:02:40 2000
> @@ -342,7 +342,9 @@
> char *pserver;
> {
> register char *p;
> - strcpy (pserver, server);
> + /* Workaround for pserver buffer overrun : Nov 8,1999 by T.Aono */
> + strncpy(pserver, server, sizeof(pserver)-1);
> + pserver[sizeof(pserver)-1] = '\0';
$B$3$NItJ,$O$3$l$@$H$^$:$$$N$G!"@DLn$5$s$,(B wnn-users 841 $B$G(B
$BD{@5HG(B(Nov 11,1999 $BHG(B)$B$r=P$5$l$F$^$9$h$M!#(B
--
$BLp?aMN0l(B ($B3t(B)SRA $B%*!<%W%s%=!<%9%S%8%M%9It(B