handle shrinking correctly
This commit is contained in:
@@ -101,9 +101,8 @@ def main():
|
||||
print("ORIGINAL TEST HAS", len(currentTest), "BYTES")
|
||||
|
||||
s = structure(initial)
|
||||
print("LAST BYTE READ IS", s[1])
|
||||
|
||||
if s[1] < len(currentTest):
|
||||
if (s[1]+1) < len(currentTest):
|
||||
print("LAST BYTE READ IS", s[1])
|
||||
print("SHRINKING TO IGNORE UNREAD BYTES")
|
||||
currentTest = currentTest[:s[1]+1]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user