diff options
author | van Hauser <vh@thc.org> | 2024-05-11 09:16:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-11 09:16:21 +0200 |
commit | 90fbf59bf16f057e50132b81be759414787ce1a3 (patch) | |
tree | e57ec2ff73da06776f6cf9c20eb907a8c5aebf05 /src/afl-fuzz-queue.c | |
parent | ad0d0c77fb313e6edfee111fecf2bcd16d8f915e (diff) | |
parent | 93c7cbd49603c1a256caf3ab6e971c9f4e40bab4 (diff) | |
download | afl++-90fbf59bf16f057e50132b81be759414787ce1a3.tar.gz |
Merge pull request #2084 from AFLplusplus/dev
push to stable
Diffstat (limited to 'src/afl-fuzz-queue.c')
-rw-r--r-- | src/afl-fuzz-queue.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/afl-fuzz-queue.c b/src/afl-fuzz-queue.c index df4e7d79..5987ad0c 100644 --- a/src/afl-fuzz-queue.c +++ b/src/afl-fuzz-queue.c @@ -370,6 +370,7 @@ void mark_as_redundant(afl_state_t *afl, struct queue_entry *q, u8 state) { s32 fd; + if (unlikely(afl->afl_env.afl_disable_redundant)) { q->disabled = 1; } fd = open(fn, O_WRONLY | O_CREAT | O_EXCL, DEFAULT_PERMISSION); if (fd < 0) { PFATAL("Unable to create '%s'", fn); } close(fd); |