]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Fix an illegal memory access triggered by an attempt to parse a corrupt input file.
authorNick Clifton <nickc@redhat.com>
Fri, 2 Jul 2021 13:56:36 +0000 (14:56 +0100)
committerNick Clifton <nickc@redhat.com>
Fri, 2 Jul 2021 13:56:36 +0000 (14:56 +0100)
commit49910fd88dcd2ec3d0d9e56120ceb56a6a64b7b8
tree6669ddf9c3ef564225245f664ebbe3130e9751c2
parent4ff0bb2df5e0ce6dc30b8dd2a0d4174649d0dcfe
Fix an illegal memory access triggered by an attempt to parse a corrupt input file.

PR 28046
* dwarf2.c (read_ranges): Check that range_ptr does not exceed
range_end.
bfd/ChangeLog
bfd/dwarf2.c