Parser fix for multi-level arrays

This commit is contained in:
Peter Šurda 2017-07-11 10:29:29 +02:00
parent dcc181bf75
commit 4f19c37fdc
Signed by untrusted user: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

@ -219,6 +219,7 @@ class BMProto(AdvancedDispatcher, ObjectTracker):
if parserStack[-1][3][j] not in "lL0123456789":
break
parserStack.append([size, size, isArray, parserStack[-1][3][parserStack[-1][4]:j+1], 0, []])
parserStack[-2][4] += len(parserStack[-1][3]) - 1
size = None
continue
elif i == "s":