bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/19628] New: null pointer dereference


From: alaa.mubaied at gmail dot com
Subject: [Bug binutils/19628] New: null pointer dereference
Date: Sat, 13 Feb 2016 01:34:17 +0000

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

            Bug ID: 19628
           Summary: null pointer dereference
           Product: binutils
           Version: 2.26
            Status: NEW
          Severity: critical
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: alaa.mubaied at gmail dot com
  Target Milestone: ---

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

Hi,

I'd like to report a null pointer dereference in binutils/bin/ld. details are
below: (crasher attached). Also wondering if CVE is required.

-bash-4.2$ gdb /opt/binutils/bin/ld 
Reading symbols from /opt/binutils/bin/ld...done.
(gdb) r crasher
Starting program: /opt/binutils/bin/ld crasher

Program received signal SIGSEGV, Segmentation fault.
bfd_generic_get_relocated_section_contents (abfd=0xc75290, link_info=0xc5da60
<link_info>, link_order=<optimized out>, data=0xc9c090 "", relocatable=0, 
    symbols=<optimized out>) at reloc.c:7920
7920              if (symbol->section && discarded_section (symbol->section))
Missing separate debuginfos, use: debuginfo-install
glibc-2.17-55.el7_0.5.x86_64
(gdb) bt 
#0  bfd_generic_get_relocated_section_contents (abfd=0xc75290,
link_info=0xc5da60 <link_info>, link_order=<optimized out>, data=0xc9c090 "",
relocatable=0, 
    symbols=<optimized out>) at reloc.c:7920
#1  0x000000000056aafd in default_indirect_link_order (generic_linker=0,
link_order=0x10, output_section=0xc765a0, info=0xc5da60 <link_info>, 
    output_bfd=0xc75290) at linker.c:2706
#2  _bfd_default_link_order (address@hidden, address@hidden
<link_info>, address@hidden, address@hidden)
    at linker.c:2519
#3  0x00000000006b622f in bfd_elf_final_link (abfd=<optimized out>,
info=<optimized out>) at elflink.c:11362
#4  0x0000000000489810 in ldwrite () at ldwrite.c:581
#5  0x00000000004092c5 in main (argc=2, argv=0x7fffffffe608) at ./ldmain.c:430
(gdb) p symbol
$1 = (asymbol *) 0x0

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