[Bug binutils/24898] An out-of-bounds read occured in display_data

2019-08-19 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24898

Alan Modra  changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2019-08-19
   Assignee|unassigned at sourceware dot org   |amodra at gmail dot com
 Ever confirmed|0   |1

--- Comment #2 from Alan Modra  ---
My guess is 32-bit host and --enable-64-bit-bfd.  Under those conditions I can
imagine the checks failing, but it seems likely the wrong reproducer has been
uploaded.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/24898] An out-of-bounds read occured in display_data

2019-08-19 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=24898

--- 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=d292364e95fc9c8230b678d9026f285850074c02

commit d292364e95fc9c8230b678d9026f285850074c02
Author: Alan Modra 
Date:   Mon Aug 19 20:24:35 2019 +0930

PR24898, An out-of-bounds read occured in display_data

Given 32-bit pointers and a 64-bit bfd_size_type, it is relatively
easy to construct a value of augmentation_data_len (eg. 0x1)
that won't fail pointer checks but will print without bounds.

PR 24898
* dwarf.c (display_debug_frames): Use the read_cie check and error
for augmentation data length.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/24898] An out-of-bounds read occured in display_data

2019-08-19 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24898

Alan Modra  changed:

   What|Removed |Added

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

--- Comment #4 from Alan Modra  ---
I'm going to declare this one fixed despite a lack of reproducer.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils