bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/24785] New: bfd crashes on empty .PPC.EMB.apuinfo section


From: tilkax at gmail dot com
Subject: [Bug binutils/24785] New: bfd crashes on empty .PPC.EMB.apuinfo section
Date: Sun, 07 Jul 2019 15:48:23 +0000

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]