about summary refs log tree commit diff
path: root/llvm_mode/afl-llvm-rt.o.c
diff options
context:
space:
mode:
authorhexcoder <hexcoder-@users.noreply.github.com>2020-04-08 10:39:32 +0200
committervan Hauser <vh@thc.org>2020-04-09 10:23:37 +0200
commit84a4fd40a083852ef893b8d8abdfbb1944daef19 (patch)
tree51e820cc757f5809328e44c2eb6672a177c71d8a /llvm_mode/afl-llvm-rt.o.c
parentd37a195392a1ab2a7f53f249f8ee876a99365c3d (diff)
downloadafl++-84a4fd40a083852ef893b8d8abdfbb1944daef19.tar.gz
fix travis
Diffstat (limited to 'llvm_mode/afl-llvm-rt.o.c')
-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;