Skip to content

Commit db64d33

Browse files
committed
fix the fix
1 parent 572c75b commit db64d33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

afl-cov

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,7 @@ def run_cmd(cmd, log_file, cargs, collect, aflrun, fn, timeout=None):
724724

725725
if cargs.disable_cmd_redirection or collect == WANT_OUTPUT \
726726
or collect == LOG_ERRORS:
727-
with open(fh.name, 'r', 'rb') as f:
727+
with open(fh.name, 'r', encoding='ISO-8859-1') as f:
728728
for line in f:
729729
out.append(line.rstrip('\n'))
730730
os.unlink(fh.name)

0 commit comments

Comments
 (0)