diff options
author | van Hauser <vh@thc.org> | 2020-08-13 22:34:11 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-08-13 22:34:11 +0200 |
commit | b5d1a021efaede5e084418fe552330590ee43641 (patch) | |
tree | c4de3f80bd21fd5229a54b7fb9fb0317ddd27b51 /src | |
parent | e9fb5f4cbc9f3514d686ebf813b16829ed73b3da (diff) | |
download | afl++-b5d1a021efaede5e084418fe552330590ee43641.tar.gz |
fix llvm and afl-showmap
Diffstat (limited to 'src')
-rw-r--r-- | src/afl-showmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afl-showmap.c b/src/afl-showmap.c index fa9eedc4..47c615d8 100644 --- a/src/afl-showmap.c +++ b/src/afl-showmap.c @@ -963,7 +963,7 @@ int main(int argc, char **argv_orig, char **envp) { // if a queue subdirectory exists switch to that u8 *dn = alloc_printf("%s/queue", in_dir); - if ((dir_in = opendir(in_dir))) { + if ((dir_in = opendir(dn)) != NULL) { closedir(dir_in); in_dir = dn; |