bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/28403] segv in objdump at disassemble_bytes (objdump.c:305


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/28403] segv in objdump at disassemble_bytes (objdump.c:3055)
Date: Wed, 06 Oct 2021 00:55:02 +0000

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 <amodra@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=0a6041ce9383338fa62acb207683780faaa8b42c

commit 0a6041ce9383338fa62acb207683780faaa8b42c
Author: Alan Modra <amodra@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

[Prev in Thread] Current Thread [Next in Thread]