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 free host segfault #590

Merged
merged 1 commit into from
Oct 5, 2021
Merged

Conversation

Kraemii
Copy link
Member

@Kraemii Kraemii commented Sep 28, 2021

What:
Added a duplicate function for host and vhost.
greenbone/openvas-scanner#888 depends on this PR

Probably a fix for
Jira: SC-229

Why:
In some cases a Segmentation Fault appears when freeing the hosts and vhosts of hosts and alive_hosts_list.

How:

Checklist:

@Kraemii Kraemii added backport-to-stable This pull request will be backported to the 21.04 branch backport-to-main This pull request will be ported to the master branch labels Sep 28, 2021
@Kraemii Kraemii marked this pull request as ready for review September 29, 2021 08:51
@Kraemii Kraemii requested a review from a team as a code owner September 29, 2021 08:51
@jjnicola jjnicola merged commit 8ff2a3a into greenbone:middleware Oct 5, 2021
@Kraemii Kraemii deleted the fix-host-segfault branch October 6, 2021 09:44
ArnoStiefvater added a commit that referenced this pull request Oct 11, 2021
Fix free host segfault (backport #590)
y0urself added a commit that referenced this pull request Oct 11, 2021
y0urself added a commit that referenced this pull request Oct 11, 2021
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 backport-to-stable This pull request will be backported to the 21.04 branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants