about summary refs log tree commit diff
path: root/instrumentation/afl-compiler-rt.o.c
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2020-11-12 23:47:49 +0100
committerhexcoder- <heiko@hexco.de>2020-11-12 23:47:49 +0100
commit4a4c14c9a926a75a52d3775098211cf3a89e0a7d (patch)
treeaceeaee96594b29796c96e4fd1e96c67b45fd8d7 /instrumentation/afl-compiler-rt.o.c
parent35fd6847fe99c2f7bbec247c71b44babcdcab2b8 (diff)
downloadafl++-4a4c14c9a926a75a52d3775098211cf3a89e0a7d.tar.gz
more fixes, leaks and compile errors
Diffstat (limited to 'instrumentation/afl-compiler-rt.o.c')
-rw-r--r--instrumentation/afl-compiler-rt.o.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/instrumentation/afl-compiler-rt.o.c b/instrumentation/afl-compiler-rt.o.c
index f38af668..864f5bb6 100644
--- a/instrumentation/afl-compiler-rt.o.c
+++ b/instrumentation/afl-compiler-rt.o.c
@@ -123,7 +123,7 @@ void __afl_trace(const u32 x) {
   u8 c = __builtin_add_overflow(*p, 1, p);
   *p += c;
   #else
-  *p += 1 + ((u8)(1 + *p == 0);
+  *p += 1 + ((u8)(1 + *p) == 0);
   #endif
 #else
   ++*p;