1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/japanese/FreeWnn-server/files/patch-cg
Satoshi Asami b578202a58 Fix another remote buffer overflow.
Obtained from:	Bugtraq-JP (SPS Advisory #34)
Submitted by:	kuriyama
2000-03-12 07:21:27 +00:00

17 lines
300 B
Plaintext

--- Wnn/jserver/dispatch.c~ Tue Sep 22 13:49:00 1992
+++ Wnn/jserver/dispatch.c Fri Mar 10 00:24:44 2000
@@ -308,9 +308,11 @@
*/
void
-get_file_name(p) register char *p;
+get_file_name(p, len)
+register char *p;
+int len;
{
- gets_cur(p);
+ gets_cur(p, len);
if(p[0] == 0){
return;
}