Mailinglist Archive: opensuse-bugs (4369 mails)

< Previous Next >
[Bug 204417] New: nut-2.0.4-2: array subscript out of range
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 8 Sep 2006 07:56:37 -0600 (MDT)
  • Message-id: <bug-204417-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=204417

Summary: nut-2.0.4-2: array subscript out of range
Product: openSUSE 10.2
Version: Alpha 4
Platform: All
OS/Version: SuSE Linux 10.1
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Basesystem
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: dcb314@xxxxxxxxxxx
QAContact: qa@xxxxxxx


I just tried to compile package nut-2.0.4-2 with the
Intel C compiler.

The compiler said

tripplite_usb.c(1057): warning #175: subscript out of range

The source code is

regex_array[5] = getval("bus");

but

char *regex_array[5];

so regex_array[5] does not exist. Suggest make array one bigger.


--
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 >