Re: [PATCH v3 0/3] x86/insn: Fix not using prefixes.nbytes for loop over prefixes.bytes

From: Masami Hiramatsu
Date: Fri Dec 04 2020 - 19:23:34 EST


On Fri, 4 Dec 2020 16:02:21 +0100
Borislav Petkov <bp@xxxxxxxxx> wrote:

> On Fri, Dec 04, 2020 at 07:55:09PM +0900, Masami Hiramatsu wrote:
> > Hi,
> >
> > Here are the 3rd version of patches to fix the wrong loop boundary
> > check on insn.prefixes.bytes[] array.
>
> Ok, so I've committed the version with ARRAY_SIZE to keep it as small
> as possible for stable. Let's discuss the new changes here ontop, once
> those urgent fixes go up.

Agreed. BTW, please fix to keep the #include "inat.h" for tools build.

Thank you,

--
Masami Hiramatsu <mhiramat@xxxxxxxxxx>