From 706039f263d79bfb15001a83e3fd87ddfc023f4a Mon Sep 17 00:00:00 2001 From: negasora Date: Fri, 22 Jun 2018 15:24:58 -0400 Subject: fix #1057 --- python/binaryview.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'python/binaryview.py') diff --git a/python/binaryview.py b/python/binaryview.py index 0cf25e70..041974f2 100644 --- a/python/binaryview.py +++ b/python/binaryview.py @@ -2720,6 +2720,8 @@ class BinaryView(object): if start is None: strings = core.BNGetStrings(self.handle, count) else: + if length is None: + length = self.end - start strings = core.BNGetStringsInRange(self.handle, start, length, count) result = [] for i in xrange(0, count.value): -- cgit v1.3.1