Skip to content

Commit

Permalink
really ignore timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
agroce committed Aug 14, 2024
1 parent e890208 commit 55c5c39
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions muttfuzz/fuzzutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ def silent_run_with_timeout(cmd, timeout, verbose, zero_timeout=False):
while (P.poll() is None) and ((time.time() - start_P) < timeout):
time.sleep(min(0.5, timeout / 10.0)) # Allow for small timeouts
if P.poll() is None:
print("KILLING SUBPROCESS DUE TO TIMEOUT")
os.killpg(os.getpgid(P.pid), signal.SIGTERM)
timed_out = True
with open("cmd_errors.txt", 'r') as cmd_errors:
try:
cmd_errors_out = cmd_errors.read()
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name='muttfuzz',
version='1.2.22',
version='1.2.23',
description='Fuzzing with mutants',
long_description_content_type="text/markdown",
long_description=open('README.md').read(),
Expand Down

0 comments on commit 55c5c39

Please sign in to comment.