about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--docs/ChangeLog1
-rw-r--r--src/afl-showmap.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/docs/ChangeLog b/docs/ChangeLog
index 65a4efe4..f5430057 100644
--- a/docs/ChangeLog
+++ b/docs/ChangeLog
@@ -24,6 +24,7 @@ Version ++2.60d (develop):
      - Android: prefer bigcores when selecting a CPU
      - CmpLog forkserver
      - Redqueen input-2-state mutator (cmp instructions only ATM)
+     - all python 2+3 versions supported now
   - afl-clang-fast:
      - show in the help output for which llvm version it was compiled for
      - now does not need to be recompiled between trace-pc and pass
diff --git a/src/afl-showmap.c b/src/afl-showmap.c
index 31fbcb5f..0aa5c158 100644
--- a/src/afl-showmap.c
+++ b/src/afl-showmap.c
@@ -709,7 +709,7 @@ static void find_binary(u8* fname) {
 
 int main(int argc, char** argv) {
 
-  s32    opt;
+  s32    opt, i;
   u8     mem_limit_given = 0, timeout_given = 0, unicorn_mode = 0, use_wine = 0;
   u32    tcnt = 0;
   char** use_argv;
@@ -896,7 +896,7 @@ int main(int argc, char** argv) {
 
   detect_file_args(argv + optind, at_file);
   
-  for (int i = optind; i < argc; i++)
+  for (i = optind; i < argc; i++)
     if (strcmp(argv[i], "@@") == 0)
       arg_offset = i;