https://sourceware.org/bugzilla/show_bug.cgi?id=28403

--- 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=0a6041ce9383338fa62acb207683780faaa8b42c

commit 0a6041ce9383338fa62acb207683780faaa8b42c
Author: Alan Modra <amo...@gmail.com>
Date:   Wed Oct 6 10:17:29 2021 +1030

    PR28403, null pointer dereference in disassemble_bytes

    Indexing of symbol and howto arrays wasn't checked in aout targets.

            PR 28403
            * aout-ns32k.c (MY (reloc_howto)): Sanity check howto_table index.
            Make r_index unsigned.
            (MY_swap_std_reloc_in): Make r_index unsigned.
            * aoutx.h (MOVE_ADDRESS): Sanity check symbol r_index.
            (aout_link_input_section_std): Make r_index unsigned.
            (aout_link_input_section_ext): Likewise.
            * i386lynx.c (MOVE_ADDRESS): Sanity check symbol r_index.
            (swap_ext_reloc_in, swap_std_reloc_in): Make r_index unsigned.
            * pdp11.c (MOVE_ADDRESS): Sanity check symbol r_index.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to