]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
PR29785, memory bloat after b43771b045fb
authorSteinar H. Gunderson <steinar+sourceware@gunderson.no>
Fri, 19 May 2023 09:14:54 +0000 (09:14 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 15 Feb 2024 02:49:45 +0000 (13:19 +1030)
commit7bd1e04a3532ed3f833a79a40bd7bc0bd48706ad
tree98107fb7d9224470cc2dd726ed66c5aad1fec1eb
parent2fbbadc2c336cad228be998a118e3bab3be30757
PR29785, memory bloat after b43771b045fb

Pathological cases of dwarf info with overlapping duplicate memory
ranges can cause splitting of trie leaf nodes, which in the worst case
will cause memory to increase without bounds.

PR 29785
* dwarf2.c (insert_arange_in_trie): Don't split leaf nodes
unless that reduces number of elements in at least one node.
bfd/dwarf2.c