bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/17597] New: NULL pointer dereference in opncls.c in bfd_ge


From: oxffffaa at gmail dot com
Subject: [Bug binutils/17597] New: NULL pointer dereference in opncls.c in bfd_get_debug_link_info().
Date: Thu, 13 Nov 2014 10:44:31 +0000

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

            Bug ID: 17597
           Summary: NULL pointer dereference in opncls.c in
                    bfd_get_debug_link_info().
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: oxffffaa at gmail dot com

I use tcc to compile simple source, but when i try to 'objdump -S -d a.out' it
crushes with SIGSEGV. Reason is in opncls.c, function 'bfd_get_debug_link_info'
in line: 'crc_offset = strlen(name) + 1;' because pointer name is NULL and
strlen requries valid pointer. So is it problem of tcc(i mean this pointer
can't be NULL) or problem of bfd? I add check for whether name is NULL or not
and objdump seems work with this case.

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