about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--miasm/arch/x86/arch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm/arch/x86/arch.py b/miasm/arch/x86/arch.py
index 2dd01ae3..e0580bc0 100644
--- a/miasm/arch/x86/arch.py
+++ b/miasm/arch/x86/arch.py
@@ -1698,7 +1698,7 @@ def exprfindmod(e, o=None):
         if e.op == '+':
             for a in e.args:
                 r = exprfindmod(a, o)
-                if out and r1:
+                if out and r:
                     raise ValueError('multiple displacement!')
                 out = r
             return out