about summary refs log tree commit diff
diff options
context:
space:
mode:
authorb1gr3db <73140724+b1gr3db@users.noreply.github.com>2021-02-16 11:17:55 -0500
committerGitHub <noreply@github.com>2021-02-16 11:17:55 -0500
commitf091b8d6928a46b3dc1859afd4895fd0bdde7e0d (patch)
tree344955a326872c5144ffe82a73367df301c1b246
parent7d97ffb1e82cd0ddebaa5e143ed326e41a6ca25b (diff)
downloadafl++-f091b8d6928a46b3dc1859afd4895fd0bdde7e0d.tar.gz
Regression fix
Previous fix was undone in a subsequent commit
-rw-r--r--qemu_mode/libqasan/string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu_mode/libqasan/string.c b/qemu_mode/libqasan/string.c
index c850463b..4be01279 100644
--- a/qemu_mode/libqasan/string.c
+++ b/qemu_mode/libqasan/string.c
@@ -271,7 +271,7 @@ void *__libqasan_memmem(const void *haystack, size_t haystack_len,
 
     }
 
-  } while (h++ <= end);
+  } while (++h <= end);
 
   return 0;