[Bug 515201] New: muse2-2.0svn347-40.48: array subscript is above array bounds
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.
http://bugzilla.novell.com/show_bug.cgi?id=515201 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |duwe@novell.com |ovo.novell.com | -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=515201 User rguenther@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=515201#c1 --- Comment #1 from Richard Guenther <rguenther@novell.com> 2009-10-17 08:54:22 MDT --- David, in case the issues are not introduced by a patch local to openSUSE please report the issues upstream. Packagers, please do not add openSUSE-local patches to fix this kind of errors but forward the bugs upstream and close the bugs as RESOLVED UPSTREAM. Note that it is perfectly fine to have "resource leaks" at the end of a program as the kernel will clean up for you. Manually freeing them only increases binary size and runtime. -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=515201 http://bugzilla.novell.com/show_bug.cgi?id=515201#c2 Torsten Duwe <duwe@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |UPSTREAM --- Comment #2 from Torsten Duwe <duwe@novell.com> 2010-02-12 11:37:39 UTC --- Package dropped due to lack of resources :( Please report this to upstream, if not done already. Thanks. -- 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.
participants (1)
-
bugzilla_noreply@novell.com