Mailinglist Archive: opensuse-bugs (8114 mails)
| < Previous | Next > |
[Bug 247335] New: ZynAddSubFX-2.2.1-49 : array subscript is above array bounds
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Wed, 21 Feb 2007 06:41:34 -0700 (MST)
- Message-id: <bug-247335-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=247335
Summary: ZynAddSubFX-2.2.1-49 : array subscript is above array
bounds
Product: openSUSE 10.3
Version: Alpha 1
Platform: All
OS/Version: SuSE Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Other
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: dcb314@xxxxxxxxxxx
QAContact: qa@xxxxxxx
I just tried to compile package ZynAddSubFX-2.2.1-49
with the GNU C compiler version 4.3 snapshot 20070216.
The compiler said
Part.C:56: warning: array subscript is above array bounds
The source code is
for (int n=0;n<NUM_PART_EFX+1;n++) {
partfxinputl[n]=new REALTYPE [SOUND_BUFFER_SIZE];
partfxinputr[n]=new REALTYPE [SOUND_BUFFER_SIZE];
Pefxbypass[n]=false;
};
but
bool Pefxbypass[NUM_PART_EFX];
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.
Summary: ZynAddSubFX-2.2.1-49 : array subscript is above array
bounds
Product: openSUSE 10.3
Version: Alpha 1
Platform: All
OS/Version: SuSE Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Other
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: dcb314@xxxxxxxxxxx
QAContact: qa@xxxxxxx
I just tried to compile package ZynAddSubFX-2.2.1-49
with the GNU C compiler version 4.3 snapshot 20070216.
The compiler said
Part.C:56: warning: array subscript is above array bounds
The source code is
for (int n=0;n<NUM_PART_EFX+1;n++) {
partfxinputl[n]=new REALTYPE [SOUND_BUFFER_SIZE];
partfxinputr[n]=new REALTYPE [SOUND_BUFFER_SIZE];
Pefxbypass[n]=false;
};
but
bool Pefxbypass[NUM_PART_EFX];
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.
| < Previous | Next > |