bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/22285] New: When I run objcopy with a specific elf, it cra


From: kashiwagiappcreator at gmail dot com
Subject: [Bug binutils/22285] New: When I run objcopy with a specific elf, it crashes. The command I run is objcopy with the input, and the result is as follows:
Date: Thu, 12 Oct 2017 06:55:52 +0000

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

            Bug ID: 22285
           Summary: When I run objcopy with a specific elf, it crashes.
                    The command I run is objcopy with the input, and the
                    result is as follows:
           Product: binutils
           Version: 2.28
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: kashiwagiappcreator at gmail dot com
  Target Milestone: ---

Created attachment 10523
  --> https://sourceware.org/bugzilla/attachment.cgi?id=10523&action=edit
The crash input is attached

=================================================================
==20714==ERROR: AddressSanitizer: heap-buffer-overflow on address
0x6210000178e8 at pc 0x0000004e805e bp 0x7ffce560ea40 sp 0x7ffce560ea30
READ of size 8 at 0x6210000178e8 thread T0
    #0 0x4e805d in copy_special_section_fields
/home/knight/Documents/binutils_asan_edited_code/bfd/elf.c:1362
    #1 0x4e8ccc in _bfd_elf_copy_private_bfd_data
/home/knight/Documents/binutils_asan_edited_code/bfd/elf.c:1490
    #2 0x40b646 in copy_object
/home/knight/Documents/binutils_asan_edited_code/binutils/objcopy.c:2517
    #3 0x40d21a in copy_file
/home/knight/Documents/binutils_asan_edited_code/binutils/objcopy.c:2879
    #4 0x414bcf in copy_main
/home/knight/Documents/binutils_asan_edited_code/binutils/objcopy.c:4792
    #5 0x4152dc in main
/home/knight/Documents/binutils_asan_edited_code/binutils/objcopy.c:4893
    #6 0x7f12b669a82f in __libc_start_main
(/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
    #7 0x4030e8 in _start
(/home/knight/Documents/binutils_asan_edited_code/binutils/objcopy+0x4030e8)

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