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

Support a conversion/extraction corner case as usable #2214

Merged

Conversation

andrewpollock
Copy link
Contributor

@andrewpollock andrewpollock commented May 15, 2024

There is a corner case where there was an unresolvable last_affected version, but a(n assumed) fixed commit (extracted from reference URLs most commonly) and so the failure to resolve the last_affected shouldn't be treated as unusable data overall for conversion.

Harmonize the ordering of potentially unnecessary work in CVEToPackageInfo and CVEToOSV

There is a corner case where there was an unresolvable `last_affected`
version, but a(n assumed) `fixed` commit (extracted from reference URLs
most commonly) and so the failure to resolve the `last_affected`
shouldn't be treated as unusable data overall for conversion.
Order the work so it's only done if necessary, and add the previous edge
case fix to CVEToOSV as well.
@andrewpollock andrewpollock merged commit e813719 into google:master May 16, 2024
11 checks passed
@andrewpollock andrewpollock deleted the handle_edge_case_fixed_commit_only branch May 23, 2024 04:55
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.

None yet

2 participants