mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-03-03 19:55:47 +03:00
Possible fix for a minor bug
This commit is contained in:
parent
b9438c3e14
commit
cbd0ea0866
|
@ -254,7 +254,7 @@ class BigArray(list):
|
||||||
index = y / BIGARRAY_CHUNK_LENGTH
|
index = y / BIGARRAY_CHUNK_LENGTH
|
||||||
offset = y % BIGARRAY_CHUNK_LENGTH
|
offset = y % BIGARRAY_CHUNK_LENGTH
|
||||||
chunk = self.chunks[index]
|
chunk = self.chunks[index]
|
||||||
if isinstance(chunk, list):
|
if isinstance(chunk, list) and len(chunk) >= offset:
|
||||||
return chunk[offset]
|
return chunk[offset]
|
||||||
else:
|
else:
|
||||||
self._checkcache(index)
|
self._checkcache(index)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user