|
From: | cvs-commit at gcc dot gnu.org |
Subject: | [Bug binutils/31692] objdump fails .debug_info size check for compressed debug information |
Date: | Fri, 10 May 2024 13:47:27 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=31692 --- Comment #4 from Sourceware Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Alan Modra <amodra@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ad658482c1e4feec4ac99c8e7df17ff78d0c2996 commit ad658482c1e4feec4ac99c8e7df17ff78d0c2996 Author: Alan Modra <amodra@gmail.com> Date: Fri May 10 22:15:06 2024 +0930 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. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |