http://sourceware.org/bugzilla/show_bug.cgi?id=12226
Summary: binutils: readelf.c:11200: error: array subscript is above array bounds Product: binutils Version: 2.20 Status: NEW Severity: normal Priority: P2 Component: binutils AssignedTo: unassig...@sources.redhat.com ReportedBy: jftrud...@cvty.com Created attachment 5127 --> http://sourceware.org/bugzilla/attachment.cgi?id=5127 Correct compiler error binutils: 2.20.1 gcc version 4.3.3 (GCC) platform: AIX adatx028 3 5 000D1D5A4C00 powerpc-ibm-aix5.3.0.0 Got a "fatal" warning when building binutils-2.20.1: readelf.c:11200: error: array subscript is above array bounds 11200: while ((arch->arhdr.ar_name[j] != '/') && (j < 16)) This is a bug since the array index is being referenced *before* it is bounds checked. The attached patch corrected this error and compilation completed. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils