]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Prevent an over large memory allocation in readelf when parsing a corrupt DWARF file.
authorNick Clifton <nickc@redhat.com>
Tue, 14 Mar 2023 13:15:12 +0000 (13:15 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 14 Mar 2023 13:15:12 +0000 (13:15 +0000)
commit97b75c421f74e4708f9a351641b99be3d4848913
treeb3354aa711fbe569ee4e3cd0490ef5eec63e6c9b
parentff581559f9d6586d1d05c5a25d777c78edab3517
Prevent an over large memory allocation in readelf when parsing a corrupt DWARF file.

  PR 30227
  * dwarf.c (process_cu_tu_index): Prevent excessive memory allocation when nused is large and ncols is zero.
binutils/ChangeLog
binutils/dwarf.c