http://bugzilla.novell.com/show_bug.cgi?id=515201 Summary: muse2-2.0svn347-40.48: array subscript is above array bounds Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: All OS/Version: openSUSE 11.1 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 Found By: --- I just tried to compile factory package muse2-2.0svn347-40.48 The compiler said /usr/src/packages/BUILD/muse-2.0svn347/synti/organ/organ.cpp:494:40: warning: array subscript is above array bounds The source code is for (int k = 0; k < NO_ELEMENTS; ++k) { w->gain[k] = 0.0; but muse-2.0svn347/synti/organ/organ.h: float gain[NO_BUSES]; and muse-2.0svn347/synti/organ/organ.h:static const int NO_BUSES = 9; so array gain has 9 entries. But muse-2.0svn347/synti/organ/organ.h:static const int NO_ELEMENTS = 194; so I agree with the compiler. Suggest code rework. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.