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(nvd-cve-osv): check for nil when logging VendorProduct #2706

Merged
merged 3 commits into from
Oct 8, 2024

Conversation

michaelkedar
Copy link
Member

@michaelkedar michaelkedar commented Oct 8, 2024

The log line added in #2678 was causing a panic when vp is nil (that we didn't notice 🤦).

I believe it's causing processing to stop early, so we end up missing records and marking them as 'withdrawn' #2704
Also adding some checks elsewhere where vp might be dereferenced.

Also added the -e flag to the run bash script so any other failures stop it from uploading (thanks @another-rex for pointing this out)

@michaelkedar michaelkedar enabled auto-merge (squash) October 8, 2024 00:54
@michaelkedar michaelkedar merged commit dbe3aa6 into google:master Oct 8, 2024
12 checks passed
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.

5 participants