https://sourceware.org/bugzilla/show_bug.cgi?id=26337
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Alan Modra <amo...@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=0b97e818464a42305c8243a980a5c13967554fd9 commit 0b97e818464a42305c8243a980a5c13967554fd9 Author: Alan Modra <amo...@gmail.com> Date: Wed Aug 5 10:03:00 2020 +0930 PR26337, Malloc size error in objdump A malloc failure triggered by a fuzzed object file isn't a real problem unless objdump doesn't exit cleanly after the failure, which it does. However we have bfd_malloc_and_get_section to sanity check size of uncompressed sections before allocating memory. Use it. PR 26337 * objdump.c (load_specific_debug_section): Don't malloc space for section contents, use bfd_malloc_and_get_section. -- You are receiving this mail because: You are on the CC list for the bug.