Hello community, here is the log from the commit of package gnushogi checked in at Wed Feb 14 10:22:51 CET 2007. -------- --- gnushogi/gnushogi.changes 2006-05-26 19:53:31.000000000 +0200 +++ /mounts/work_src_done/STABLE/gnushogi/gnushogi.changes 2007-02-13 21:17:00.000000000 +0100 @@ -1,0 +2,6 @@ +Tue Feb 13 21:16:15 CET 2007 - anicka@suse.cz + +- fix [#243009], array subscript is above array bounds + (-array.patch) + +------------------------------------------------------------------- New: ---- gnushogi-1.3-array.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnushogi.spec ++++++ --- /var/tmp/diff_new_pack.l32528/_old 2007-02-14 10:22:25.000000000 +0100 +++ /var/tmp/diff_new_pack.l32528/_new 2007-02-14 10:22:25.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package gnushogi (Version 1.3) # -# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -12,14 +12,14 @@ Name: gnushogi BuildRequires: xorg-x11 xorg-x11-devel -License: GPL +License: GNU General Public License (GPL) Group: Amusements/Games/Board/Chess Provides: gshogi xshogi Obsoletes: gshogi xshogi PreReq: %install_info_prereq Autoreqprov: on Version: 1.3 -Release: 386 +Release: 423 Summary: Japanese Version of Chess URL: ftp://ftp.gnu.org/pub/gnu/gnushogi/ Source: gnushogi-%{version}.tar.bz2 @@ -31,6 +31,7 @@ Patch5: gnushogi-%{version}-autoconf.patch Patch6: gnushogi-%{version}-gcc4.1fix.patch Patch7: gnushogi-%{version}-strip.patch +Patch8: gnushogi-%{version}-array.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -55,6 +56,7 @@ %patch5 %patch6 %patch7 +%patch8 %build %{suse_update_config -f} @@ -89,6 +91,9 @@ %doc doc/BOOKFILES ChangeLog CONTRIB COPYING NEWS README doc/shogi.rules doc/tutorial1.gam doc/tutorial2.gam %changelog -n gnushogi +* Tue Feb 13 2007 - anicka@suse.cz +- fix [#243009], array subscript is above array bounds + (-array.patch) * Fri May 26 2006 - schwab@suse.de - Don't strip binaries. * Wed Jan 25 2006 - mls@suse.de ++++++ gnushogi-1.3-array.patch ++++++ --- gnushogi/eval.c +++ gnushogi/eval.c @@ -2701,7 +2701,7 @@ break; } - if (stage < ispvalue[0][i + 1]) + if (i+1 < MAIN_STAGES && stage < ispvalue[0][i + 1]) { for (piece = 0; piece < NO_PIECES; piece++) { ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org