Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix finish_signal_on_queue #464

Merged
merged 2 commits into from
Mar 22, 2021

Conversation

jjnicola
Copy link
Member

What:
Fix finish_signal_on_queue. Check for the signal in the whole items under the key, instead of
just checking the the last item.

Why:
In some cases the finished was not reallocated causing interrupted scans

How:
Run a scan with Boreas alive test, with expand_vhosts option enabled and allow_simultaneous_ips disabled. Check that the scan is not interrupted and all hosts are scanned.

Checklist:

Check for the signal in the whole items under the key, instead of
just checking the the last item.
@jjnicola jjnicola force-pushed the realloc-boreas-fin branch from 2f2b20e to 8b8f088 Compare March 19, 2021 15:14
@jjnicola jjnicola added the backport-to-main This pull request will be ported to the master branch label Mar 19, 2021
boreas/boreas_io.c Outdated Show resolved Hide resolved
Co-authored-by: ArnoStiefvater <ArnoStiefvater@users.noreply.github.com>
@jjnicola jjnicola requested a review from ArnoStiefvater March 22, 2021 07:35
@ArnoStiefvater ArnoStiefvater merged commit eb70a73 into greenbone:gvm-libs-21.04 Mar 22, 2021
ArnoStiefvater added a commit that referenced this pull request Mar 22, 2021
@jjnicola jjnicola deleted the realloc-boreas-fin branch March 22, 2021 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-to-main This pull request will be ported to the master branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants