GNOME Bugzilla – Bug 587584
array subscript is above array bounds
Last modified: 2009-07-02 12:31:45 UTC
Please describe the problem: 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. Steps to reproduce: Actual results: Warning. Expected results: Suggest code rework. Does this happen every time? Yes. Other information:
The reported problem has been fixed in the latest release 1.2.8. Please use for building sources from http://ftp.gnome.org/pub/GNOME/sources/gnome-commander/1.2/gnome-commander-1.2.8.tar.bz2