mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-16 03:48:08 +00:00
Do not circumvent sanity checks from arg parsing
This commit is contained in:
@ -2495,8 +2495,9 @@ int main(int argc, char **argv_orig, char **envp) {
|
|||||||
if (!afl->queue_buf[entry]->disabled)
|
if (!afl->queue_buf[entry]->disabled)
|
||||||
if ((afl->queue_buf[entry]->exec_us/1000) > max_ms)
|
if ((afl->queue_buf[entry]->exec_us/1000) > max_ms)
|
||||||
max_ms = afl->queue_buf[entry]->exec_us/1000;
|
max_ms = afl->queue_buf[entry]->exec_us/1000;
|
||||||
|
|
||||||
afl->fsrv.exec_tmout = max_ms;
|
if (max_ms > afl->fsrv.exec_tmout)
|
||||||
|
afl->fsrv.exec_tmout = max_ms;
|
||||||
afl->timeout_given = 1;
|
afl->timeout_given = 1;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user