https://sourceware.org/bugzilla/show_bug.cgi?id=28172
--- 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=352bd3aa1c68137d4a5115183f42c40b75ee05b3 commit 352bd3aa1c68137d4a5115183f42c40b75ee05b3 Author: Alan Modra <amo...@gmail.com> Date: Fri Aug 6 17:26:14 2021 +0930 PR28172, bfin_pcrel24_reloc heap-buffer-overflow bfin pcrel24 relocs are weird, they apply to the reloc address minus two. That means reloc addresses of 0 and 1 are invalid. Check that, and fix other reloc range checking. PR 28172 * elf32-bfin.c (bfin_pcrel24_reloc): Correct reloc range check. (bfin_imm16_reloc, bfin_byte4_reloc, bfin_bfd_reloc): Likewise. (bfin_final_link_relocate): Likewise. -- You are receiving this mail because: You are on the CC list for the bug.