From 037816579daaaaf6d6d882565ff958cabcdaad92 Mon Sep 17 00:00:00 2001 From: Johannes Helmold Date: Fri, 1 Sep 2023 13:09:06 +0200 Subject: [PATCH] Fix: Fixed infinite loop at the end of scans. When the scan progress of a scan was at 100% some times the processing of the data in gvmd got into an infinite loop. That problem is fixed now. --- src/manage_sql.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/manage_sql.c b/src/manage_sql.c index 8fdb0a169..0eb7005d3 100644 --- a/src/manage_sql.c +++ b/src/manage_sql.c @@ -48006,7 +48006,10 @@ hosts_set_identifiers (report_t report) GString *select; if (report_host_noticeable (report, ip) == 0) - continue; + { + host_index++; + continue; + } quoted_host_name = sql_quote (ip);