Fix infinite loop in x86.nz with 'mov r12, qword[xmm0]'

This commit is contained in:
pancake 2018-08-06 00:51:32 +02:00
parent 6d2348fef5
commit f07c02eafe

View File

@ -4289,6 +4289,10 @@ static int parseOperand(RAsm *a, const char *str, Operand *op, bool isrepop) {
ut64 temp = 1;
Register reg = X86R_UNDEFINED;
while (str[pos] != ']') {
if (pos > nextpos) {
// eprintf ("Error parsing instruction\n");
break;
}
pos = nextpos;
if (!str[pos]) {
break;