This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: vax decoding of indexed addressing mode
- From: Alan Modra <amodra at gmail dot com>
- To: Matt Thomas <matt at netbsd dot org>, Jan-Benedict Glaw <jbglaw at lug-owl dot de>
- Cc: binutils at sourceware dot org
- Date: Thu, 19 Dec 2019 21:58:40 +1030
- Subject: Re: vax decoding of indexed addressing mode
- References: <20191213104728.GZ32672@bubble.grove.modra.org>
On Fri, Dec 13, 2019 at 09:17:28PM +1030, Alan Modra wrote:
> This patch prevents print_insn_mode recursing into another index mode
> byte, which if repeated enough times will overflow private.the_buffer
> and scribble over other memory. Found by our fuzzing friends.
>
> OK?
>
> * vax-dis.c (print_insn_mode): Stop index mode recursion.
I'm going to apply the patch since I'm reasonably certain it's good.
--
Alan Modra
Australia Development Lab, IBM