http://sourceware.org/bugzilla/show_bug.cgi?id=12235
Summary: elfedit.c:716: error: array subscript is above array
bounds
Product: binutils
Version: 2.21
Status: NEW
Severity: normal
Priority: P2
Component: binutils
AssignedTo: [email protected]
ReportedBy: [email protected]
binutils: 2.21.51
Platform:
AIX 3 5 000D1D5A4C00
powerpc-ibm-aix5.3.0.0
gcc version 4.3.3 (GCC)
This is a re-introduction of a bug that was fixed in Bug 11742 - readelf.c:
get_archive_member_name(): array subscript is above array bounds. The same
patch works in this new file.
gcc -DHAVE_CONFIG_H -I. -I. -I. -I../bfd -I./../bfd -I./../include -I./../intl
-DLOCALEDIR="\"/mtg/tool/binutils-2.21.51/share/locale\""
-Dbin_dummy_emulation=bin_aix5_emulation
-I/mtg/tool/gmp-5.0.1/powerpc-AIX5.3/include -I/mtg/tool/mpfr-3.0.0/include
-I/mtg/tool/mpc-0.8.2/include -I/mtg/tool/include -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wshadow -Werror -O3 -pipe -MT elfedit.o -MD -MP -MF
.deps/elfedit.Tpo -c -o elfedit.o elfedit.c
cc1: warnings being treated as errors
elfedit.c: In function 'get_archive_member_name':
elfedit.c:716: error: array subscript is above array bounds
--
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
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils