bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/19629] New: crash in ld.bfd - possible null pointer derefe


From: alaa.mubaied at gmail dot com
Subject: [Bug binutils/19629] New: crash in ld.bfd - possible null pointer dereference
Date: Fri, 12 Feb 2016 20:10:08 +0000

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

            Bug ID: 19629
           Summary: crash in ld.bfd - possible null pointer dereference
           Product: binutils
           Version: 2.26
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: alaa.mubaied at gmail dot com
  Target Milestone: ---

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

I'd like to report a crash in ld.bfd. (crasher1 attached)

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

Program received signal SIGSEGV, Segmentation fault.
bfd_hash_lookup (table=0xc77630, address@hidden <Address
0x1492390 out of bounds>, address@hidden, copy=0) at hash.c:467
467       hash = bfd_hash_hash (string, &len);
Missing separate debuginfos, use: debuginfo-install
glibc-2.17-55.el7_0.5.x86_64
(gdb) bt
#0  bfd_hash_lookup (table=0xc77630, address@hidden <Address
0x1492390 out of bounds>, address@hidden, copy=0) at hash.c:467
#1  0x000000000055ac76 in bfd_link_hash_lookup (follow=0, copy=<optimized out>,
create=1, string=0x1492390 <Address 0x1492390 out of bounds>, 
    table=<optimized out>) at linker.c:507
#2  bfd_wrapped_link_hash_lookup (address@hidden,
address@hidden <link_info>, string=<optimized out>, 
    address@hidden <Address 0x1492390 out of bounds>,
address@hidden, address@hidden, address@hidden) at
linker.c:602
#3  0x0000000000564f02 in _bfd_generic_link_add_one_symbol
(address@hidden <link_info>, address@hidden,
address@hidden "", 
    address@hidden, address@hidden
<_bfd_std_section+840>, value=24, address@hidden <Address
0x1492390 out of bounds>, 
    copy=0, collect=0, address@hidden) at linker.c:1457
#4  0x000000000075bfcc in linux_add_one_symbol (address@hidden
<link_info>, address@hidden, name=<optimized out>,
address@hidden "", 
    flags=8194, section=0xc52a08 <_bfd_std_section+840>, value=<optimized out>,
string=0x1492390 <Address 0x1492390 out of bounds>, address@hidden, 
    address@hidden, address@hidden) at i386linux.c:357
#5  0x000000000075ea0b in aout_link_add_symbols (address@hidden,
address@hidden <link_info>) at aoutx.h:3132
#6  0x000000000077644f in aout_link_add_object_symbols (info=0xc5da60
<link_info>, abfd=0xc86cc0) at aoutx.h:3196
#7  aout_32_link_add_symbols (abfd=0xc86cc0, info=0xc5da60 <link_info>) at
aoutx.h:3457
#8  0x00000000004564ef in load_symbols (entry=0xc5f270, place=<optimized out>)
at ldlang.c:2867
#9  0x0000000000462337 in open_input_bfds (s=0xc5f270,
address@hidden) at ldlang.c:3325
#10 0x0000000000470da8 in lang_process () at ldlang.c:6726
#11 0x0000000000409141 in main (argc=2, argv=0x7fffffffe5e8) at ./ldmain.c:414

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