https://sourceware.org/bugzilla/show_bug.cgi?id=28687
--- Comment #5 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=05f62e0c9a0b14e211c6b2b6234095b50794b20b commit 05f62e0c9a0b14e211c6b2b6234095b50794b20b Author: Alan Modra <amo...@gmail.com> Date: Thu Dec 16 10:50:58 2021 +1030 Re: Fix an undefined behaviour in the BFD library's DWARF parser Using an unsigned int cast (to 32 bits) on a pointer difference (of possibly 64 bits) is wrong. Even though it will work on all real object files, the fuzzers will eventually find this hole. PR 28687 * dwarf1.c (parse_die): Cast pointer difference to size_t. Catch another possible pointer overflow. -- You are receiving this mail because: You are on the CC list for the bug.