Fix an attempt to allocate an excessive amount of memory when parsing a corrupt DWARF...
authorNick Clifton <nickc@redhat.com>
Tue, 11 Apr 2023 15:14:23 +0000 (16:14 +0100)
committerNick Clifton <nickc@redhat.com>
Tue, 11 Apr 2023 15:14:23 +0000 (16:14 +0100)
commit9f1c612b7c1bb2d3035ca9416e5f09d844620e89
tree1d680845a22fa5224d0ef533792a9f550505f1e3
parent688fe114cd80e410dbed08064eaaedf5584d31cf
Fix an attempt to allocate an excessive amount of memory when parsing a corrupt DWARF file.

  PR 30313
  * dwarf.c (display_debug_lines_decoded): Check for an overlarge number of files or directories.
binutils/ChangeLog
binutils/dwarf.c