aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2024-01-30 11:01:49 +0100
committervanhauser-thc <vh@thc.org>2024-01-30 11:01:49 +0100
commitd5b6c0f773178eb8890d0e7004c3c6d4931687fa (patch)
treedbc268f75184b3d59c157465fe3f1dda0abd4fad
parent12ab9ebd321abf46da7505c7492d908e351347ce (diff)
downloadAFLplusplus-d5b6c0f773178eb8890d0e7004c3c6d4931687fa.tar.gz
fix
-rw-r--r--src/afl-forkserver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afl-forkserver.c b/src/afl-forkserver.c
index c3c115a1..214b4fe9 100644
--- a/src/afl-forkserver.c
+++ b/src/afl-forkserver.c
@@ -1017,7 +1017,7 @@ void afl_fsrv_start(afl_forkserver_t *fsrv, char **argv,
if (rlen == 4) {
- if (memcmp((char*)status, "AFL", 3) == 0) {
+ if (status >= 0x41464c00 && status <= 0x41464cff) {
FATAL("Target uses the new forkserver model, you need to switch to a newer afl-fuzz too!");