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: Insert CVEs products from CPE matches table #2320

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

a-h-abdelsalam
Copy link
Contributor

What

Insert CVEs products from CPE matches table when updating the SCAP from JSON files.

Why

Products column was not populated during CVE update from JSON

References

GEA-625

@a-h-abdelsalam a-h-abdelsalam requested a review from a team as a code owner November 11, 2024 16:03
Copy link

Conventional Commits Report

Type Number
Changed 1

🚀 Conventional commits found.

This comment was marked as spam.

@a-h-abdelsalam a-h-abdelsalam merged commit b6559f8 into main Nov 12, 2024
16 checks passed
@a-h-abdelsalam a-h-abdelsalam deleted the add-products-to-cves branch November 12, 2024 14:55
quoted_software, cve_db_id);
g_free (quoted_software);
}
g_string_free (software, TRUE);
Copy link
Contributor

Choose a reason for hiding this comment

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

This is indented 2 to far (compare with the return below). Made me think that the free was happening inside the iteration above.

I find this cJSON_ArrayForEach style awkward, especially when the body is so large. I think this style makes it tricky for the auto indentation in editors.

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