PR 34481 arbitrary limit on decompressed size of .dwo files
int aaaa..a; where 'a' is repeated a million times, produces a
-g -gsplit-dwarf -gz .dwo file of only 2200 bytes. This might be a
silly testcase, but it demonstrates the ten times file size limit when
decompressing .debug_str.dwo is easily exceeded.
PR 26946
PR 28834
PR 34481
bfd/
* section.c (bfd_section_size_insane): Do not attempt to sanity
check compressed sections.
binutils/
* readelf.c (uncompress_section_contents): Do not limit uncompressed
section size. Remove now unused file_size param. Adjust callers.
2 files changed