Adhere to documented behavior

This commit is contained in:
Leon Weiß 2024-02-23 12:52:11 +01:00
parent 07e0b39126
commit eaedf2e62f

View File

@ -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;
}