about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2021-02-16 17:52:44 +0100
committerGitHub <noreply@github.com>2021-02-16 17:52:44 +0100
commit7444cfa4503be8cced0fcbd4a98f855fb2c0ef1d (patch)
tree344955a326872c5144ffe82a73367df301c1b246
parent7d97ffb1e82cd0ddebaa5e143ed326e41a6ca25b (diff)
parentf091b8d6928a46b3dc1859afd4895fd0bdde7e0d (diff)
downloadafl++-7444cfa4503be8cced0fcbd4a98f855fb2c0ef1d.tar.gz
Merge pull request #748 from b1gr3db/dev
Regression fix
-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;