Mailinglist Archive: opensuse-bugs (8010 mails)

< Previous Next >
[Bug 243281] New: iproute2-2.6.15-51 : array subscript is above array bounds
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Wed, 7 Feb 2007 13:39:39 -0700 (MST)
  • Message-id: <bug-243281-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=243281

Summary: iproute2-2.6.15-51 : array subscript is above array
bounds
Product: openSUSE 10.3
Version: unspecified
Platform: All
OS/Version: SuSE Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Network
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: dcb314@xxxxxxxxxxx
QAContact: qa@xxxxxxx


I just tried to compile package iproute2-2.6.15-51
with the GNU C compiler version 4.3 snapshot 20070202.

The compiler said

m_ipt.c:342: warning: array subscript is above array bounds

The source code is

name[IPT_FUNCTION_MAXNAMELEN - 1] = revision;

but

char name[IPT_FUNCTION_MAXNAMELEN-1];

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 >