[Bug 239169] New: pachi-1.0-65: array subscript is below array bounds
https://bugzilla.novell.com/show_bug.cgi?id=239169 Summary: pachi-1.0-65: array subscript is below 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 pachi-1.0-65 with the new GNU compiler version 4.3 snapshot 20070119 The compiler said game.c:84: warning: array subscript is below array bounds The source code is if(y < 0) if(roommap[x][y-1]==stage) I agree with the compiler. Suggest new code if(y > 0) if(roommap[x][y-1]==stage) -- 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=239169 chrubis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |sndirsch@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=239169 sndirsch@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE ------- Comment #1 from sndirsch@novell.com 2007-01-26 04:37 MST ------- *** This bug has been marked as a duplicate of bug 235591 *** -- 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