https://sourceware.org/bugzilla/show_bug.cgi?id=23686
--- Comment #3 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=0bbd2b1ad0426aee86445cd7f0c86667624da7ca commit 0bbd2b1ad0426aee86445cd7f0c86667624da7ca Author: Alan Modra <amo...@gmail.com> Date: Sat May 20 21:00:25 2023 +0930 Re: Bug 23686, two segment faults in nm The fix for pr23686 had a hole in the reloc address sanity check, the calculation could overflow. Note that stabsize is known to be a non-zero multiple of 12 so stabsize - 4 can't underflow. PR 23686 * syms.c (_bfd_stab_section_find_nearest_line): Correct r->address sanity check. -- You are receiving this mail because: You are on the CC list for the bug.