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

Change: Use XML file iterator for CVE updates #2147

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

timopollmeier
Copy link
Member

What

The update of the CVEs now also uses the XML file iterator instead of loading and parsing the whole file.
Also, a memory leak in insert_cve_products has been fixed.

Why

This reduces the amount of memory used during the update.

References

GEA-498

The update of the CVEs now also uses the XML file iterator instead of
loading and parsing the whole file.
Also, a memory leak in insert_cve_products has been fixed.

This reduces the amount of memory used during the update.
@timopollmeier timopollmeier requested a review from a team as a code owner March 6, 2024 11:33
Copy link

github-actions bot commented Mar 6, 2024

Conventional Commits Report

Type Number
Changed 1

🚀 Conventional commits found.

Copy link
Contributor

@bjoernricks bjoernricks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this PR require a newer gvm-libs version in the CMakeLists.txt file?

@timopollmeier
Copy link
Member Author

@bjoernricks This uses the same version of gvm-libs as #2142 and I've raised the version requirement there.

@bjoernricks
Copy link
Contributor

@bjoernricks This uses the same version of gvm-libs as #2142 and I've raised the version requirement there.

nice! just wanted to be sure :-)

@a-h-abdelsalam a-h-abdelsalam merged commit 6a0f436 into main Mar 6, 2024
9 checks passed
@a-h-abdelsalam a-h-abdelsalam deleted the improve-cve-update branch March 6, 2024 18:04
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.

3 participants