Mailinglist Archive: opensuse-bugs (4172 mails)

< Previous Next >
[Bug 513035] New: gnome-commander-1.2.7-8.9: array subscript is above array bounds
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Sun, 14 Jun 2009 15:36:52 -0600
  • Message-id: <bug-513035-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>
http://bugzilla.novell.com/show_bug.cgi?id=513035


Summary: gnome-commander-1.2.7-8.9: 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 gnome-commander-1.2.7-8.9
and the build said

gnome-cmd-file-list.cc:1387:45: warning: array subscript is above array bounds

The source code is

data.text[FILE_LIST_NUM_COLUMNS] = NULL;

but

gchar *text[FILE_LIST_NUM_COLUMNS];

Clearly broken code. 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.

< Previous Next >
Follow Ups