From: Julian Seward Date: Thu, 23 Aug 2007 19:02:47 +0000 (+0000) Subject: Merge r1776 (Allow up to 7 prefixes, so as to accept 66 66 66 66 66 66 X-Git-Tag: svn/VALGRIND_3_2_3^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b4afaa2f1f59c57c6568d830864c2dbfadfa61a;p=thirdparty%2Fvalgrind.git Merge r1776 (Allow up to 7 prefixes, so as to accept 66 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00). git-svn-id: svn://svn.valgrind.org/vex/branches/VEX_3_2_BRANCH@1777 --- diff --git a/VEX/priv/guest-amd64/toIR.c b/VEX/priv/guest-amd64/toIR.c index d042787ce1..fc267b8801 100644 --- a/VEX/priv/guest-amd64/toIR.c +++ b/VEX/priv/guest-amd64/toIR.c @@ -8355,7 +8355,7 @@ DisResult disInstr_AMD64_WRK ( as many invalid combinations as possible. */ n_prefixes = 0; while (True) { - if (n_prefixes > 5) goto decode_failure; + if (n_prefixes > 7) goto decode_failure; pre = getUChar(delta); switch (pre) { case 0x66: pfx |= PFX_66; break;