summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2010-10-27 09:33:04 +0000
committerAlfredo Tupone <tupone@gentoo.org>2010-10-27 09:33:04 +0000
commitff5ed7e645815036446d3493bbfe5e0b1aae1b88 (patch)
tree220558244914cacdf1bc02d8cda57edd485c0a02 /games-board/gnushogi/files
parentVersion bump subvertpy to 0.7.5. (diff)
downloadgentoo-2-ff5ed7e645815036446d3493bbfe5e0b1aae1b88.tar.gz
gentoo-2-ff5ed7e645815036446d3493bbfe5e0b1aae1b88.tar.bz2
gentoo-2-ff5ed7e645815036446d3493bbfe5e0b1aae1b88.zip
Fix overflow. Bug #340901
(Portage version: 2.1.9.22/cvs/Linux i686)
Diffstat (limited to 'games-board/gnushogi/files')
-rw-r--r--games-board/gnushogi/files/gnushogi-1.3-ovflfix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/games-board/gnushogi/files/gnushogi-1.3-ovflfix.patch b/games-board/gnushogi/files/gnushogi-1.3-ovflfix.patch
new file mode 100644
index 000000000000..78ab7759d1bf
--- /dev/null
+++ b/games-board/gnushogi/files/gnushogi-1.3-ovflfix.patch
@@ -0,0 +1,11 @@
+--- gnushogi/commondsp.c.old 2010-10-27 11:26:21.000000000 +0200
++++ gnushogi/commondsp.c 2010-10-27 11:27:59.000000000 +0200
+@@ -1737,7 +1737,7 @@
+ s[0] = sx[0] = '\0';
+
+ while(!sx[0])
+- (void)fgets(sx, 256, stdin);
++ (void)fgets(sx, 80, stdin);
+ }
+ else
+ {