Skip to content

Commit

Permalink
fix hanging scans
Browse files Browse the repository at this point in the history
The finish of a scan did not get propagated correctly. This resulted in an indefinetely hanging progress bar.
  • Loading branch information
ArnoStiefvater committed Nov 13, 2019
1 parent 5a260c2 commit 1c2a61e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Fixed
- Do not store in memory an empty file received as nvt preference. [#409](https://github.com/greenbone/openvas/pull/409)
- Fix stop scan. [#414](https://github.com/greenbone/openvas/pull/414)
- Fix hanging scans. [#423](https://github.com/greenbone/openvas/pull/423)

[7.0.1]: https://github.com/greenbone/openvas/compare/v7.0.0...openvas-7.0

Expand Down
2 changes: 2 additions & 0 deletions src/attack.c
Original file line number Diff line number Diff line change
Expand Up @@ -1208,4 +1208,6 @@ attack_network (struct scan_globals *globals, kb_t *network_kb)

if (do_network_scan && network_phase && !scan_is_stopped ())
attack_network (globals, network_kb);
else
set_scan_status ("finished");
}

0 comments on commit 1c2a61e

Please sign in to comment.