[Bug 239954] New: simh-3.3_1-38: array subscript is above array bounds
https://bugzilla.novell.com/show_bug.cgi?id=239954 Summary: simh-3.3_1-38: 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 simh-3.3_1-38 with the new GNU compiler version 4.3 snapshot 20070126 The compiler said ALTAIR/altair_dsk.c:333: warning: array subscript is above array bounds The source code is if (cur_byte[cur_disk] > 136) { i = cur_byte[cur_disk]; dskbuf[i] = data & 0xFF; but char dskbuf[137]; /* Data Buffer */ 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=239954 meissner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |kkaempf@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=239954 ------- Comment #1 from sndirsch@novell.com 2007-01-31 15:40 MST ------- Feel free to close as duplicate of Bug #240922. -- 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=239954 kkaempf@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE ------- Comment #2 from kkaempf@novell.com 2007-02-02 02:19 MST ------- *** This bug has been marked as a duplicate of bug 240922 *** -- 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