diff options
-rw-r--r-- | src/analyze/analyze-security.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/analyze/analyze-security.c b/src/analyze/analyze-security.c index 541fc0d97a..eec040d5c3 100644 --- a/src/analyze/analyze-security.c +++ b/src/analyze/analyze-security.c @@ -1494,6 +1494,8 @@ static int assess(const struct security_info *info, Table *overview_table, Analy } } + assert(weight_sum > 0); + if (details_table) { size_t row; |