[Bug 242031] New: bomberclone-0.11.7-33: array subscript is above array bounds
https://bugzilla.novell.com/show_bug.cgi?id=242031 Summary: bomberclone-0.11.7-33: array subscript is above array bounds Product: openSUSE 10.3 Version: unspecified Platform: All OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de I just tried to compile package bomberclone-0.11.7-33 with the GNU C compiler version 4.3 snapshot 20070202. The compiler said player.c:884: warning: array subscript is above array bounds The source code is if (res == -1 && i == player->bomb_lastex && player->bombs[i].state == BS_off) but i has the value MAX_BOMBS and _bomb bombs[MAX_BOMBS]; Suggest code rework. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=242031 chrubis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |hmacht@novell.com |screening@forge.provo.novell| |.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=242031 pgajdos@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|hmacht@novell.com |pgajdos@novell.com Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=242031 pgajdos@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #1 from pgajdos@novell.com 2007-03-27 07:11 MST ------- fixed -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com