diff options
author | Leon Weiß <leon.weiss@rub.de> | 2024-02-23 12:52:11 +0100 |
---|---|---|
committer | Leon Weiß <leon.weiss@rub.de> | 2024-02-23 12:52:11 +0100 |
commit | eaedf2e62f77310fc0981c1c6d3ca573662d1522 (patch) | |
tree | 9a7644beb66fbe47f577d4d2aab1bd9ad13ac0ee /src | |
parent | 07e0b391260d007f9dc52329dc51887fe568f109 (diff) | |
download | afl++-eaedf2e62f77310fc0981c1c6d3ca573662d1522.tar.gz |
Adhere to documented behavior
Diffstat (limited to 'src')
-rw-r--r-- | src/afl-fuzz.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/afl-fuzz.c b/src/afl-fuzz.c index 0ddb8880..803a1acc 100644 --- a/src/afl-fuzz.c +++ b/src/afl-fuzz.c @@ -2496,8 +2496,7 @@ int main(int argc, char **argv_orig, char **envp) { if ((afl->queue_buf[entry]->exec_us/1000) > max_ms) max_ms = afl->queue_buf[entry]->exec_us/1000; - if (max_ms > afl->fsrv.exec_tmout) - afl->fsrv.exec_tmout = max_ms; + afl->fsrv.exec_tmout = max_ms; afl->timeout_given = 1; } |