https://sourceware.org/bugzilla/show_bug.cgi?id=27291
--- 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=6db658c517bdfbf8e5b8c5a34caf3ff1eea332f1 commit 6db658c517bdfbf8e5b8c5a34caf3ff1eea332f1 Author: Alan Modra <amo...@gmail.com> Date: Thu Feb 11 09:53:17 2021 +1030 PR27291, integer overflow in bfd_get_section_contents Makes the code a little more elegant too. Note that the unsigned overflow reported here is well defined so this patch doesn't fix any real problem. PR 27291 * section.c (bfd_get_section_contents): Avoid possible overflow when range checking offset and count. (bfd_set_section_contents): Likewise. -- You are receiving this mail because: You are on the CC list for the bug.