bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/21781] New: Internal error in handle_COMDAT


From: ned at forallsecure dot com
Subject: [Bug binutils/21781] New: Internal error in handle_COMDAT
Date: Mon, 17 Jul 2017 17:02:40 +0000

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

            Bug ID: 21781
           Summary: Internal error in handle_COMDAT
           Product: binutils
           Version: 2.30 (HEAD)
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: ned at forallsecure dot com
  Target Milestone: ---

Created attachment 10268
  --> https://sourceware.org/bugzilla/attachment.cgi?id=10268&action=edit
internal_error_coffcode

The attached file produces the following output when run with `./objdump -x
internal_error_coffcode`:

```
./objdump: ./internal_error_coffcode (): Section flag IMAGE_SCN_LNK_OTHER
(0x100) ignored
./objdump: BFD (GNU Binutils) 2.29.51.20170714 internal error, aborting at
./coffcode.h:1000 in flagword handle_COMDAT(bfd *, flagword, void *, const char
*, asection *)

./objdump: Please report this bug.
```

It's not clear that we want to handle this case for a malformed input, but the
message indicates that this is a real bug. Perhaps we want to cleanly return
when it is encountered. When I replaced the abort with a `break;`, I got a
memory leak.

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