summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2011-07-23 20:31:05 +0000
committerAlfredo Tupone <tupone@gentoo.org>2011-07-23 20:31:05 +0000
commit1abbb5ce17926ac4c88378ef9ef775efe2fa7bee (patch)
treeac27fcf871a01c6bfb7dc6d863177763080137f3 /games-rpg/openglad/files
parentDrop ppc/ppc64; bug #352794 (diff)
downloadhistorical-1abbb5ce17926ac4c88378ef9ef775efe2fa7bee.tar.gz
historical-1abbb5ce17926ac4c88378ef9ef775efe2fa7bee.tar.bz2
historical-1abbb5ce17926ac4c88378ef9ef775efe2fa7bee.zip
Fix buffer overflow. Bug #208327
Package-Manager: portage-2.1.10.7/cvs/Linux i686
Diffstat (limited to 'games-rpg/openglad/files')
-rw-r--r--games-rpg/openglad/files/openglad-0.98-ovfl.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/games-rpg/openglad/files/openglad-0.98-ovfl.patch b/games-rpg/openglad/files/openglad-0.98-ovfl.patch
new file mode 100644
index 000000000000..14cd73cc53b0
--- /dev/null
+++ b/games-rpg/openglad/files/openglad-0.98-ovfl.patch
@@ -0,0 +1,11 @@
+--- src/screen.cpp.old 2011-07-23 21:35:34.385063301 +0200
++++ src/screen.cpp 2011-07-23 21:35:59.948063312 +0200
+@@ -2383,7 +2383,7 @@
+ short listsize;
+ short i;
+ walker * new_guy;
+- char newgrid[12] = "grid.pix"; // default grid
++ char newgrid[13] = "grid.pix"; // default grid
+ char new_scen_type; // read the scenario type
+ char oneline[80];
+ char numlines, tempwidth;