Mailinglist Archive: opensuse-bugs (4181 mails)

< Previous Next >
[Bug 510855] New: alsa-tools-1.0.20-2.1: array subscript is above array bounds
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 8 Jun 2009 03:22:30 -0600
  • Message-id: <bug-510855-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>
http://bugzilla.novell.com/show_bug.cgi?id=510855


Summary: alsa-tools-1.0.20-2.1: 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@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: dcb314@xxxxxxxxxxx
QAContact: qa@xxxxxxx
Found By: ---


I just tried to build Factory package alsa-tools-1.0.20-2.1
and the build said

Cus428State.cc:257:32: warning: array subscript is above array bounds

The source code is

for (int i = 0; i < 8; ++i) {
usX2Y_volume V = Volume[i];

but in file Cus428State.h

usX2Y_volume_t Volume[5];

so the code appears broken. Suggest 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.

< Previous Next >