https://sourceware.org/bugzilla/show_bug.cgi?id=24785

            Bug ID: 24785
           Summary: bfd crashes on empty .PPC.EMB.apuinfo section
           Product: binutils
           Version: 2.33 (HEAD)
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: tilkax at gmail dot com
  Target Milestone: ---

Created attachment 11895
  --> https://sourceware.org/bugzilla/attachment.cgi?id=11895&action=edit
repro case

I've come across an ELF file from a Wii game that has an empty .PPC.EMB.apuinfo
section. bfd doesn't handle this and crashes when trying to parse it in
bfd/elf32-ppc.c:_bfd_elf_ppc_set_arch(), e.g. when loading the file into gdb or
objcopy. Stripped down repro case attached.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to