about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--miasm2/core/bin_stream_ida.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/miasm2/core/bin_stream_ida.py b/miasm2/core/bin_stream_ida.py
index ee3dcec3..de7bc971 100644
--- a/miasm2/core/bin_stream_ida.py
+++ b/miasm2/core/bin_stream_ida.py
@@ -20,9 +20,9 @@ class bin_stream_ida(bin_stream_str):
     def readbs(self, l=1):
         if self.offset + l > self.l:
             raise IOError("not enough bytes")
-        o = self.getbytes(self.offset)
+        content = self.getbytes(self.offset)
         self.offset += l
-        return p
+        return content
 
     def __str__(self):
         raise NotImplementedError('Not fully functional')