[Bug binutils/29908] SEGV of objdump caused by heap-buffer-overflow at dwarf.c:7756 in display_debug_addr()

2022-12-19 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=29908

--- Comment #3 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by Alan Modra :

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

commit 956bc7a29fd952d709db29667b38f98cdd3db4c9
Author: Alan Modra 
Date:   Sun Dec 18 13:07:51 2022 +1030

Tidy PR29893 and PR29908 fix

PR 29893
PR 29908
* dwarf.c (display_debug_addr): Combine dwarf5 unit_length checks.
Delete dead code.

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


[Bug binutils/29908] SEGV of objdump caused by heap-buffer-overflow at dwarf.c:7756 in display_debug_addr()

2022-12-16 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29908

Nick Clifton  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #2 from Nick Clifton  ---
Hi,

  Thanks for reporting this bug.  I have applied a small patch to add a check
  for an undersized length field in the address range header.

Cheers
  Nick

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


[Bug binutils/29908] SEGV of objdump caused by heap-buffer-overflow at dwarf.c:7756 in display_debug_addr()

2022-12-16 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=29908

--- Comment #1 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by Nick Clifton :

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

commit fa501b69309ccb03ec957101f24109ed7f737733
Author: Nick Clifton 
Date:   Fri Dec 16 12:06:43 2022 +

Fix a potential illegal memory access when parsing corrupt DWARF
information.

PR 29908
* dwarf.c (display_debug_addr): Check for corrupt header lengths.

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


[Bug binutils/29908] SEGV of objdump caused by heap-buffer-overflow at dwarf.c:7756 in display_debug_addr()

2022-12-16 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29908

Nick Clifton  changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2022-12-16
   Assignee|unassigned at sourceware dot org   |nickc at redhat dot com
 Ever confirmed|0   |1
 CC||nickc at redhat dot com

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