aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2024-05-10 22:15:06 +0930
committerAlan Modra <amodra@gmail.com>2024-05-10 23:17:03 +0930
commitad658482c1e4feec4ac99c8e7df17ff78d0c2996 (patch)
tree05bae4a8580a86967362d2e304508c98075d7abb /ld/ldlang.h
parenta4f76c0765a0b9c643dc91d5a398a1cd9519572b (diff)
downloadgdb-ad658482c1e4feec4ac99c8e7df17ff78d0c2996.zip
gdb-ad658482c1e4feec4ac99c8e7df17ff78d0c2996.tar.gz
gdb-ad658482c1e4feec4ac99c8e7df17ff78d0c2996.tar.bz2
Re: PR31692, objdump fails .debug_info size check
The fuzzers found a hole. bfd_section_size_insane doesn't check !SEC_HAS_CONTENTS sections against file size for obvious reasons, which allows fuzzed debug sections to be stupidly large. Real debug sections of course always have contents. PR 31692 * objdump.c (load_specific_debug_section): Don't allow sections without contents.
Diffstat (limited to 'ld/ldlang.h')
0 files changed, 0 insertions, 0 deletions