diff options
author | hexcoder- <heiko@hexco.de> | 2020-11-24 16:13:58 +0100 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2020-11-24 16:13:58 +0100 |
commit | ed2f82eaf40a49d76d7615370ea8749c2f1fefaa (patch) | |
tree | 53d88fd5fc7f8328dde821d3ec1428d98419afc9 | |
parent | cf30f52f255ec9ad5e70b73b65fff323d2184c77 (diff) | |
download | afl++-ed2f82eaf40a49d76d7615370ea8749c2f1fefaa.tar.gz |
fix compiler warning turned error on NetBSD
-rw-r--r-- | src/afl-fuzz-run.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afl-fuzz-run.c b/src/afl-fuzz-run.c index 95b3ee8a..b716b8c8 100644 --- a/src/afl-fuzz-run.c +++ b/src/afl-fuzz-run.c @@ -484,7 +484,7 @@ void sync_fuzzers(afl_state_t *afl) { DIR * sd; struct dirent *sd_ent; u32 sync_cnt = 0, synced = 0, entries = 0; - u8 path[PATH_MAX + 256]; + u8 path[PATH_MAX + 1 + NAME_MAX]; sd = opendir(afl->sync_dir); if (!sd) { PFATAL("Unable to open '%s'", afl->sync_dir); } |