bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/19630] New: crash in bin/as null pointer dereference


From: alaa.mubaied at gmail dot com
Subject: [Bug binutils/19630] New: crash in bin/as null pointer dereference
Date: Sat, 13 Feb 2016 01:44:16 +0000

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

            Bug ID: 19630
           Summary: crash in bin/as 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 8984
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8984&action=edit
crasher

Hi, I'd like to report a crash in bin/as - possible null pointer dereference.
crasher2 attached

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

Program received signal SIGSEGV, Segmentation fault.
0x00000000004ce722 in read_a_source_file (name=<optimized out>) at read.c:1109
1109                          *input_line_pointer++ = nul_char;
Missing separate debuginfos, use: debuginfo-install
glibc-2.17-55.el7_0.5.x86_64
(gdb) bt 
#0  0x00000000004ce722 in read_a_source_file (name=<optimized out>) at
read.c:1109
#1  0x000000000040811f in perform_an_assembly_pass (argv=0xcb4838,
argc=<optimized out>) at as.c:1138
#2  main (argc=2, argv=0xcb4830) at as.c:1262
(gdb) p input_line_pointer
$1 = 0x1 <Address 0x1 out of bounds>
(gdb) p nul_char
$2 = 0 '\000'

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