This commit is contained in:
Antonio 2017-06-02 06:51:00 +00:00 committed by GitHub
commit fb1655ed09

View File

@ -760,6 +760,10 @@ class Agent(object):
if intoRegExp:
intoRegExp = intoRegExp.group(1)
query = query[:query.index(intoRegExp)]
# The position is irrelevant when writing into a file,
# so bump the payload to the first position to avoid
# NULL bytes written into the file
position = 0
position = 0
char = NULL