File gnushogi-1.3-destbufferoverflow.patch of Package gnushogi
Index: gnushogi/commondsp.c =================================================================== --- gnushogi/commondsp.c.orig 2002-04-26 17:42:22.000000000 +0200 +++ gnushogi/commondsp.c 2008-10-08 04:42:08.000000000 +0200 @@ -1737,7 +1737,7 @@ InputCommand(char *command) s[0] = sx[0] = '\0'; while(!sx[0]) - (void)fgets(sx, 256, stdin); + (void)fgets(sx, 80, stdin); } else {