[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freewnn:00414] Re: about uum for jserver



>  $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