public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug tdep/29598] New: dereferenced null pointer in arm-dis.c
@ 2022-09-22 12:28 nickkirkby at protonmail dot ch
  2022-11-02  7:44 ` [Bug tdep/29598] " luis.machado at arm dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: nickkirkby at protonmail dot ch @ 2022-09-22 12:28 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 29598
           Summary: dereferenced null pointer in arm-dis.c
           Product: gdb
           Version: HEAD
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: tdep
          Assignee: unassigned at sourceware dot org
          Reporter: nickkirkby at protonmail dot ch
  Target Milestone: ---

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

Thread 1 "gdb" received signal SIGSEGV, Segmentation fault.
0x000055555622616a in mapping_symbol_for_insn (During symbol reading:
incomplete CFI data; unspecified registers (e.g., rax) at 0x555556226181
During symbol reading: .debug_rnglists entry has start address of zero [in
module /home/user/repos/gdb-13.0.50.20220920/build/gdb/gdb]
During symbol reading: .debug_line address at offset 0x2511c7 is 0 [in module
/home/user/repos/gdb-13.0.50.20220920/build/gdb/gdb]
During symbol reading: unsupported tag: 'DW_TAG_unspecified_type'
During symbol reading: Member function "~_Sp_counted_base" (offset 0x1ceaf15)
is virtual but the vtable offset is not specified
During symbol reading: No DW_FORM_block* DW_AT_call_value for DW_TAG_call_site
child DIE 0x1d0ff23 [in module
/home/user/repos/gdb-13.0.50.20220920/build/gdb/gdb]
pc=pc@entry=68022, info=info@entry=0x7fffffffd1c8,
map_symbol=map_symbol@entry=0x7fffffffcf28) at ../../opcodes/arm-dis.c:11868
11868         || bfd_asymbol_flavour (*info->symtab) != bfd_target_elf_flavour)


Previously opened incorrectly at:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106996

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug tdep/29598] dereferenced null pointer in arm-dis.c
  2022-09-22 12:28 [Bug tdep/29598] New: dereferenced null pointer in arm-dis.c nickkirkby at protonmail dot ch
@ 2022-11-02  7:44 ` luis.machado at arm dot com
  2022-11-10  1:13 ` cvs-commit at gcc dot gnu.org
  2022-11-10  1:14 ` luis.machado at arm dot com
  2 siblings, 0 replies; 4+ messages in thread
From: luis.machado at arm dot com @ 2022-11-02  7:44 UTC (permalink / raw)
  To: gdb-prs

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

Luis Machado <luis.machado at arm dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |luis.machado at arm dot com
           Assignee|unassigned at sourceware dot org   |luis.machado at arm dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug tdep/29598] dereferenced null pointer in arm-dis.c
  2022-09-22 12:28 [Bug tdep/29598] New: dereferenced null pointer in arm-dis.c nickkirkby at protonmail dot ch
  2022-11-02  7:44 ` [Bug tdep/29598] " luis.machado at arm dot com
@ 2022-11-10  1:13 ` cvs-commit at gcc dot gnu.org
  2022-11-10  1:14 ` luis.machado at arm dot com
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-11-10  1:13 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Luis Machado <luisgpm@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=76a95facf1260326469dc9952adc6ee034bac735

commit 76a95facf1260326469dc9952adc6ee034bac735
Author: Luis Machado <luis.machado@arm.com>
Date:   Wed Nov 2 07:17:46 2022 +0000

    [opcodes/arm] Fix potential null pointer dereferences

      PR tdep/29598

      As pointed out in the bug ticket, we have a couple potential null pointer
      dereferencing situations. Harden those.

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug tdep/29598] dereferenced null pointer in arm-dis.c
  2022-09-22 12:28 [Bug tdep/29598] New: dereferenced null pointer in arm-dis.c nickkirkby at protonmail dot ch
  2022-11-02  7:44 ` [Bug tdep/29598] " luis.machado at arm dot com
  2022-11-10  1:13 ` cvs-commit at gcc dot gnu.org
@ 2022-11-10  1:14 ` luis.machado at arm dot com
  2 siblings, 0 replies; 4+ messages in thread
From: luis.machado at arm dot com @ 2022-11-10  1:14 UTC (permalink / raw)
  To: gdb-prs

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

Luis Machado <luis.machado at arm dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #2 from Luis Machado <luis.machado at arm dot com> ---
Fixed. Please reopen if you see any issues.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-11-10  1:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-22 12:28 [Bug tdep/29598] New: dereferenced null pointer in arm-dis.c nickkirkby at protonmail dot ch
2022-11-02  7:44 ` [Bug tdep/29598] " luis.machado at arm dot com
2022-11-10  1:13 ` cvs-commit at gcc dot gnu.org
2022-11-10  1:14 ` luis.machado at arm dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).