about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2019-10-02 16:32:15 +0200
committervan Hauser <vh@thc.org>2019-10-02 16:32:15 +0200
commita962359993654ddcc3568a73e85fcfafcecfa4c5 (patch)
tree3bf7b27729f38f6179a9c0b59124adbc5d464a03
parent5b45fc5921f25fd5bd2fe216e4c22d7f3988dfa9 (diff)
downloadafl++-a962359993654ddcc3568a73e85fcfafcecfa4c5.tar.gz
imported fix from google afl
-rw-r--r--src/afl-fuzz-init.c4
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;