about summary refs log tree commit diff
path: root/qemu_mode/libqasan/string.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2021-02-17 17:43:11 +0100
committerGitHub <noreply@github.com>2021-02-17 17:43:11 +0100
commit857229654e942000021dce926483586b038082d2 (patch)
tree1a4d19a2246bbd75d861c6b91e04ca9b2178fa60 /qemu_mode/libqasan/string.c
parentd999725de217a0adf4f936954c418ad8c8c3da2a (diff)
parent4c47b242eb976b8518ab8884733d02465f02d90a (diff)
downloadafl++-857229654e942000021dce926483586b038082d2.tar.gz
Merge pull request #750 from AFLplusplus/dev
Push to stable
Diffstat (limited to 'qemu_mode/libqasan/string.c')
-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;