bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/29483] abort at i386-dis.c:9289


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/29483] abort at i386-dis.c:9289
Date: Tue, 16 Aug 2022 16:41:11 +0000

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

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by H.J. Lu <hjl@sourceware.org>:

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

commit 9096fc28c62741bfb7962eb5dfdee28a7b1d1345
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Aug 16 08:25:49 2022 -0700

    i386: Add MAX_OPERAND_BUFFER_SIZE

    When displaying operands, invalid opcodes may overflow operand buffer
    due to additional styling characters.  Each style is encoded with 3
    bytes.  Define MAX_OPERAND_BUFFER_SIZE for operand buffer size and
    increase it from 100 bytes to 128 bytes to accommodate 9 sets of styles
    in an operand.

    gas/

            PR binutils/29483
            * testsuite/gas/i386/i386.exp: Run pr29483.
            * testsuite/gas/i386/pr29483.d: New file.
            * testsuite/gas/i386/pr29483.s: Likewise.

    opcodes/

            PR binutils/29483
            * i386-dis.c (MAX_OPERAND_BUFFER_SIZE): New.
            (obuf): Replace 100 with MAX_OPERAND_BUFFER_SIZE.
            (staging_area): Likewise.
            (op_out): Likewise.

-- 
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]