Jakub Jelinek 7c8238
--- valgrind-3.2.3/VEX/priv/guest-amd64/toIR.c	(revision 1776)
Jakub Jelinek 7c8238
+++ valgrind-3.2.3/VEX/priv/guest-amd64/toIR.c	(revision 1777)
Jakub Jelinek 7c8238
@@ -8355,7 +8355,7 @@ DisResult disInstr_AMD64_WRK ( 
Jakub Jelinek 7c8238
       as many invalid combinations as possible. */
Jakub Jelinek 7c8238
    n_prefixes = 0;
Jakub Jelinek 7c8238
    while (True) {
Jakub Jelinek 7c8238
-      if (n_prefixes > 5) goto decode_failure;
Jakub Jelinek 7c8238
+      if (n_prefixes > 7) goto decode_failure;
Jakub Jelinek 7c8238
       pre = getUChar(delta);
Jakub Jelinek 7c8238
       switch (pre) {
Jakub Jelinek 7c8238
          case 0x66: pfx |= PFX_66; break;