[Top][All Lists]

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

[Bug binutils/26408] New: A null pointer deference in elf.c:12901:11

From: seviezhou at 163 dot com
Subject: [Bug binutils/26408] New: A null pointer deference in elf.c:12901:11
Date: Wed, 19 Aug 2020 15:29:54 +0000


            Bug ID: 26408
           Summary: A null pointer deference in elf.c:12901:11
           Product: binutils
           Version: 2.36 (HEAD)
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: seviezhou at 163 dot com
  Target Milestone: ---

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

## System info

Ubuntu x86_64, clang 6.0, binutils (2.36

## Configure

CFLAGS="-g -fsanitize=address" LDFLAGS="-fsanitize=address" ./configure

## Command line

./binutils/strip-new -s -g -S -d -w -x -X -v -o /dev/null @@

## AddressSanitizer output

==68830==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc
0x00000069c27f bp 0x7ffd6cec00f0 sp 0x7ffd6cebff40 T0)
==68830==The signal is caused by a READ memory access.
==68830==Hint: address points to the zero page.
    #0 0x69c27e in _bfd_elf_write_secondary_reloc_section
    #1 0x642b07 in bfd_elf64_write_relocs
    #2 0x5d7bbc in bfd_map_over_sections
    #3 0x6847f0 in _bfd_elf_write_object_contents
    #4 0x5cf909 in bfd_close /home/seviezhou/binutils/bfd/opncls.c:775:13
    #5 0x51e9d4 in copy_file
    #6 0x5143d8 in strip_main
    #7 0x5143d8 in main /home/seviezhou/binutils/binutils/objcopy.c:6024
    #8 0x7f9cefa3eb96 in __libc_start_main
    #9 0x41ac99 in _start

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /home/seviezhou/binutils/bfd/elf.c:12901:11 in

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]