diff options
author | van Hauser <vh@thc.org> | 2019-10-02 16:32:15 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2019-10-02 16:32:15 +0200 |
commit | a962359993654ddcc3568a73e85fcfafcecfa4c5 (patch) | |
tree | 3bf7b27729f38f6179a9c0b59124adbc5d464a03 /src/afl-fuzz-init.c | |
parent | 5b45fc5921f25fd5bd2fe216e4c22d7f3988dfa9 (diff) | |
download | afl++-a962359993654ddcc3568a73e85fcfafcecfa4c5.tar.gz |
imported fix from google afl
Diffstat (limited to 'src/afl-fuzz-init.c')
-rw-r--r-- | src/afl-fuzz-init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/afl-fuzz-init.c b/src/afl-fuzz-init.c index aa413e2e..de16f901 100644 --- a/src/afl-fuzz-init.c +++ b/src/afl-fuzz-init.c @@ -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; |