[Bug 239491] New: rasmol-2.7.3.1-39: array subscript is above array bounds
https://bugzilla.novell.com/show_bug.cgi?id=239491 Summary: rasmol-2.7.3.1-39: 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 rasmol-2.7.3.1-39 with the new GNU compiler version 4.3 snapshot 20070119 The compiler said transfor.c:1599: warning: array subscript is above array bounds The source code is { ScaleRef[i].r = 0; But i has the value LastShade and linux:/usr/src/packages/SPECS # find ../BUILD/RasMol_2.7.3/ -name \*.h -print | xargs fgrep ScaleRef../BUILD/RasMol_2.7.3/src/transfor.h:ShadeRef ScaleRef[LastShade]; ./BUILD/RasMol_2.7.3/src/transfor.h:extern ShadeRef ScaleRef[LastShade]; linux:/usr/src/packages/SPECS # 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=239491 chrubis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |lmichnovic@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=239491 lmichnovic@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #1 from lmichnovic@novell.com 2007-01-29 02:06 MST ------- I'll take a look. Thank you for reporting. -- 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=239491 ------- Comment #2 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=239491 lmichnovic@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |DUPLICATE ------- Comment #3 from lmichnovic@novell.com 2007-02-01 03:02 MST ------- The problem in rasmol is fixed for stable and reported to upstream. Closing as duplicate. *** 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