fix llvm and afl-showmap

This commit is contained in:
van Hauser
2020-08-13 22:34:11 +02:00
parent e9fb5f4cbc
commit b5d1a021ef
6 changed files with 12 additions and 3 deletions

View File

@ -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;