Re: [Qemu-devel] [PATCH] Add more boundary checking to sse3/4 parsing

2010-07-01 Thread Aurelien Jarno
On Sun, Jun 27, 2010 at 12:06:11AM +0200, Andi Kleen wrote: > Add more boundary checking to sse3/4 parsing > > s?sse3 uses tables with only two entries per op, but it is indexed > with b1 which can contain variables upto 3. This happens when ssse3 > or sse4 are used with REP* prefixes. > > Add bo

[Qemu-devel] [PATCH] Add more boundary checking to sse3/4 parsing

2010-06-26 Thread Andi Kleen
Add more boundary checking to sse3/4 parsing s?sse3 uses tables with only two entries per op, but it is indexed with b1 which can contain variables upto 3. This happens when ssse3 or sse4 are used with REP* prefixes. Add boundary checking for this case. Signed-off-by: Andi Kleen diff --git a/t