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

Correct g_hash_table_remove arg #419

Merged
merged 2 commits into from
Nov 4, 2020

Conversation

mattmundell
Copy link
Contributor

@mattmundell mattmundell commented Nov 3, 2020

What:

Pass name instead of value to g_has_table_remove.

Why:

Function expects key name. Was causing a segfault on scans with credentials where the credential could not be decoded.

How:

Run gvmd with --disable-encrypted-credentials. Create a target with an SSH credential. Run a task using the target. Task should run.

Checklist:

@mattmundell mattmundell marked this pull request as ready for review November 3, 2020 18:59
@mattmundell mattmundell requested a review from jjnicola as a code owner November 3, 2020 18:59
@jjnicola jjnicola merged commit 7a9a5b4 into greenbone:gvm-libs-20.08 Nov 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants