about summary refs log tree commit diff
path: root/src/afl-showmap.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2022-09-16 11:51:17 +0200
committerGitHub <noreply@github.com>2022-09-16 11:51:17 +0200
commit869138aa41db5411535003fa575a35b75b857389 (patch)
tree1acbb68c44c4e3c743714cddedf4eb01066fea62 /src/afl-showmap.c
parent147654f8715d237fe45c1657c87b2fe36c4db22a (diff)
parent5bf8bffd4aaedad1eef83504c46fc762e0262c27 (diff)
downloadafl++-869138aa41db5411535003fa575a35b75b857389.tar.gz
Merge pull request #1519 from AFLplusplus/dev
push to stable
Diffstat (limited to 'src/afl-showmap.c')
-rw-r--r--src/afl-showmap.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/afl-showmap.c b/src/afl-showmap.c
index 07f30326..b0b21011 100644
--- a/src/afl-showmap.c
+++ b/src/afl-showmap.c
@@ -1241,11 +1241,15 @@ int main(int argc, char **argv_orig, char **envp) {
     u32 save_be_quiet = be_quiet;
     be_quiet = !debug;
     if (map_size > 4194304) {
-        fsrv->map_size = map_size;
-    }
-    else {
-        fsrv->map_size = 4194304; // dummy temporary value
+
+      fsrv->map_size = map_size;
+
+    } else {
+
+      fsrv->map_size = 4194304;  // dummy temporary value
+
     }
+
     u32 new_map_size =
         afl_fsrv_get_mapsize(fsrv, use_argv, &stop_soon,
                              (get_afl_env("AFL_DEBUG_CHILD") ||