Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deduplicate affected versions (#1133)
This adds some preliminary test coverage to `ExtractVersionInfo` and avoids adding duplicates to`AffectedVersion`, preventing duplicate commit hashes getting added further downstream when they are mapped. This highlights the potential need to look more holistically at the nodes when extracting versions, because each one could be for a completely different CPE...
- Loading branch information
1 parent
363c720
commit fc10056
Showing
3 changed files
with
257 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters