about summary refs log tree commit diff
path: root/instrumentation/afl-llvm-lto-instrumentation.so.cc
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2021-02-07 07:51:29 +0100
committervanhauser-thc <vh@thc.org>2021-02-07 07:51:29 +0100
commit0ad56167c53ae660d40ccc6cdedb39f0a52eefcd (patch)
treedf45cbcd663a12cc96670cf8e72ba72f90fa37ef /instrumentation/afl-llvm-lto-instrumentation.so.cc
parentaeb7d7048371cd91ab9280c3958f1c35e5d5e758 (diff)
downloadafl++-0ad56167c53ae660d40ccc6cdedb39f0a52eefcd.tar.gz
fix scan-build issues
Diffstat (limited to 'instrumentation/afl-llvm-lto-instrumentation.so.cc')
-rw-r--r--instrumentation/afl-llvm-lto-instrumentation.so.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/instrumentation/afl-llvm-lto-instrumentation.so.cc b/instrumentation/afl-llvm-lto-instrumentation.so.cc
index 841d52e5..f5c24e41 100644
--- a/instrumentation/afl-llvm-lto-instrumentation.so.cc
+++ b/instrumentation/afl-llvm-lto-instrumentation.so.cc
@@ -546,7 +546,7 @@ bool AFLLTOPass::runOnModule(Module &M) {
                   if (literalLength + 1 == optLength) {
 
                     Str2.append("\0", 1);  // add null byte
-                    addedNull = true;
+                    // addedNull = true;
 
                   }