/[gentoo-x86]/games-arcade/fishsupper/files/fishsupper-0.1.6-ovflfix.patch
Gentoo

Contents of /games-arcade/fishsupper/files/fishsupper-0.1.6-ovflfix.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon Jun 25 07:44:57 2012 UTC (10 months, 3 weeks ago) by tupone
Branch: MAIN
CVS Tags: HEAD
Fix overflow & asneeded Bug #423061

(Portage version: 2.1.11.1/cvs/Linux i686)

1 --- src/main.cpp.old 2012-06-24 18:35:27.661894094 +0200
2 +++ src/main.cpp 2012-06-24 18:35:41.041954632 +0200
3 @@ -293,7 +293,7 @@
4
5 if (!ok)
6 {
7 - fs_dir = new char[ strlen(".") ];
8 + fs_dir = new char[ strlen(".") + 1];
9 strcpy(fs_dir, ".");
10 } // if ... else
11

  ViewVC Help
Powered by ViewVC 1.1.13