diff options
| author | negasora <negasora@gmail.com> | 2018-06-22 15:24:58 -0400 |
|---|---|---|
| committer | negasora <negasora@gmail.com> | 2018-06-22 15:24:58 -0400 |
| commit | 706039f263d79bfb15001a83e3fd87ddfc023f4a (patch) | |
| tree | 26af454030e14ba4e493c1a211ab657509b10b6b /python | |
| parent | 5ceebf3406f9e57434655b18db8b0bcf9b981f15 (diff) | |
fix #1057
Diffstat (limited to 'python')
| -rw-r--r-- | python/binaryview.py | 2 |
1 files changed, 2 insertions, 0 deletions
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): |
