about summary refs log tree commit diff
path: root/src/afl-showmap.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-03-09 19:40:59 +0100
committervan Hauser <vh@thc.org>2020-03-09 19:40:59 +0100
commit73a1b39446f604698181add181d2b2489a635333 (patch)
treede63594f8322d8f3937859b192b88b937a64f65b /src/afl-showmap.c
parent253bbf3a5c4323c33952f0408df6afbcd9310603 (diff)
downloadafl++-73a1b39446f604698181add181d2b2489a635333.tar.gz
quickfix for first big bug that use_stdin was not correctly initialized and could not be set
Diffstat (limited to 'src/afl-showmap.c')
-rw-r--r--src/afl-showmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/afl-showmap.c b/src/afl-showmap.c
index 26f166a5..771fa733 100644
--- a/src/afl-showmap.c
+++ b/src/afl-showmap.c
@@ -899,11 +899,11 @@ int main(int argc, char** argv, char** envp) {
   if (in_dir) {
 
     if (at_file) PFATAL("Options -A and -i are mutually exclusive");
-    detect_file_args(argv + optind, "", fsrv->use_stdin);
+    detect_file_args(argv + optind, "", &fsrv->use_stdin);
 
   } else {
 
-    detect_file_args(argv + optind, at_file, fsrv->use_stdin);
+    detect_file_args(argv + optind, at_file, &fsrv->use_stdin);
 
   }