about summary refs log tree commit diff
diff options
context:
space:
mode:
authorhexcoder <hexcoder-@users.noreply.github.com>2020-04-08 10:39:32 +0200
committerGitHub <noreply@github.com>2020-04-08 10:39:32 +0200
commit9aa10ef7caf6dfd3dc0bc602b46d3b8b8087333d (patch)
tree90d3f165a7904396bf54963f0afa62c5dec1feaa
parenta85b8d69efbde74906fb7b4d2364cd585aab3cf9 (diff)
downloadafl++-9aa10ef7caf6dfd3dc0bc602b46d3b8b8087333d.tar.gz
fix travis
-rw-r--r--llvm_mode/afl-llvm-rt.o.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm_mode/afl-llvm-rt.o.c b/llvm_mode/afl-llvm-rt.o.c
index e2fd5190..f6c60a11 100644
--- a/llvm_mode/afl-llvm-rt.o.c
+++ b/llvm_mode/afl-llvm-rt.o.c
@@ -238,7 +238,7 @@ static void __afl_start_snapshots(void) {
         if (!afl_snapshot_do()) { raise(SIGSTOP); }
 
         __afl_area_ptr[0] = 1;
-        memset(__afl_prev_loc, 0, MAX_NGRAM_SIZE * sizeof(PREV_LOC_T));
+        memset(__afl_prev_loc, 0, NGRAM_SIZE_MAX * sizeof(PREV_LOC_T));
 
         return;