Fix a potential illegal memory access when parsing corrupt DWARF information.
authorNick Clifton <nickc@redhat.com>
Fri, 16 Dec 2022 12:06:43 +0000 (12:06 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 16 Dec 2022 12:06:43 +0000 (12:06 +0000)
commitfa501b69309ccb03ec957101f24109ed7f737733
treed75b92ca32ca7360c3c5f267e359480b4fd69ff6
parent429f0cd1396203204754141681b1bc65bd3f5259
Fix a potential illegal memory access when parsing corrupt DWARF information.

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