bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/20907] New: Internal error in peicode.h causes program to


From: thuanpv at comp dot nus.edu.sg
Subject: [Bug binutils/20907] New: Internal error in peicode.h causes program to abort
Date: Fri, 02 Dec 2016 07:26:33 +0000

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

            Bug ID: 20907
           Summary: Internal error in peicode.h causes program to abort
           Product: binutils
           Version: 2.28 (HEAD)
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: thuanpv at comp dot nus.edu.sg
  Target Milestone: ---

Dear all,
Using AFLFast (https://github.com/mboehme/aflfast), a fork of AFL, we found an
input causing different programs (addr2line, strings and size) to abort due to
an exception in peicode.h.

The bug was found on Ubuntu 14.04 64-bit & binutils was checked out from
https://github.com/bminor/binutils-gdb repository. Its commit is 
268ebe95201d2ebdcf68cad9dc67ff6d1e25be9e (Fri Nov 18 14:15:12 2016). We also
checked and confirmed the bug using the newest development version of binutils
& binutils 2.24. 

To reproduce:

printf
"\x00\x00\xff\xff\x00\x00\x4c\x01\x30\x30\x30\x30\x24\x00\x00\x00\x00\x00\x01\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x00\x00\x30\x30\x30\x30\x30\x30\x30\x30"
> fd

addr2line -e fd

OR

size fd

OR

strings -d fd

Error message:

BFD (GNU Binutils) 2.27.51.20161128 internal error, aborting at
../../bfd/peicode.h:896 in pe_ILF_build_a_bfd

Best regards,
Thuan

-- 
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]