PR29893, buffer overflow in display_debug_addr
authorAlan Modra <amodra@gmail.com>
Mon, 12 Dec 2022 13:57:11 +0000 (00:27 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 12 Dec 2022 14:06:08 +0000 (00:36 +1030)
commitc8628c770bc9055cfd42cfc2e3c416495653f5f8
tree3622a34ee311ca4a86d9da1dc13b74ea8a3204e8
parent67a8c89601f6e1947484d5de23411634fef92e68
PR29893, buffer overflow in display_debug_addr

PR 29893
* dwarf.c (display_debug_addr): Sanity check dwarf5 unit_length
field.  Don't read past end.
binutils/dwarf.c