]> git.proxmox.com Git - mirror_qemu.git/commit - target-i386/translate.c
Add more boundary checking to sse3/4 parsing
authorAndi Kleen <andi@firstfloor.org>
Sat, 26 Jun 2010 22:06:11 +0000 (00:06 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Thu, 1 Jul 2010 23:53:37 +0000 (01:53 +0200)
commitc045af25a52e9aa69c96bf8af4e4c639f657b08f
treeba4deb337f10fdd5832e317b5f7090df259995ef
parent4c4fd3f852dbb3a7dbcc59110d03d3d15ada5f72
Add more boundary checking to sse3/4 parsing

ssse3 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 <ak@linux.intel.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-i386/translate.c