imported fix from google afl

This commit is contained in:
van Hauser
2019-10-02 16:32:15 +02:00
parent 5b45fc5921
commit a962359993

View File

@ -738,10 +738,10 @@ void find_timeout(void) {
(void)i; /* Ignore errors */
close(fd);
off = strstr(tmp, "exec_timeout : ");
off = strstr(tmp, "exec_timeout : ");
if (!off) return;
ret = atoi(off + 17);
ret = atoi(off + 20);
if (ret <= 4) return;
exec_tmout = ret;