mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-18 10:46:38 +00:00
Fix infinite loop in x86.nz with 'mov r12, qword[xmm0]'
This commit is contained in:
parent
6d2348fef5
commit
f07c02eafe
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user