aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2023-08-23 19:43:24 +0000
committerGitHub <noreply@github.com>2023-08-23 19:43:24 +0000
commitad2af7caec2df6ceec87669864f47b9567c672af (patch)
treea15d2111508e40a9830669bdd25e95c36984a655
parent1128a1772c76ab1e1464105c98942215cb102f12 (diff)
parent82c875ef8a8523d699bfc999769680fddc51380a (diff)
downloadafl++-ad2af7caec2df6ceec87669864f47b9567c672af.tar.gz
Merge pull request #1844 from AFLplusplus/dev
fix
-rwxr-xr-xafl-whatsup2
1 files changed, 1 insertions, 1 deletions
diff --git a/afl-whatsup b/afl-whatsup
index 093cda81..d28c46fe 100755
--- a/afl-whatsup
+++ b/afl-whatsup
@@ -185,7 +185,7 @@ for i in `find . -maxdepth 2 -iname fuzzer_stats | sort`; do
RUN_DAYS=$((RUN_UNIX / 60 / 60 / 24))
RUN_HRS=$(((RUN_UNIX / 60 / 60) % 24))
COVERAGE=$(echo $bitmap_cvg|tr -d %)
- if [ -n "$TOTAL_COVERAGE" -a -n "$COVERAGE" ]; then
+ if [ -n "$TOTAL_COVERAGE" -a -n "$COVERAGE" -a -n "$BC" ]; then
if [ "$(echo "$TOTAL_COVERAGE < $COVERAGE" | bc)" -eq 1 ]; then
TOTAL_COVERAGE=$COVERAGE
fi