Skip to content

Fix panic when CycloneDX BOM missing metadata.component#895

Merged
kzantow merged 1 commit intoanchore:mainfrom
kzantow-anchore:cyclonedx-panic
Mar 17, 2022
Merged

Fix panic when CycloneDX BOM missing metadata.component#895
kzantow merged 1 commit intoanchore:mainfrom
kzantow-anchore:cyclonedx-panic

Conversation

@kzantow
Copy link
Contributor

@kzantow kzantow commented Mar 17, 2022

There is a case where a community member is merging Syft-generated CycloneDX SBOMs using cyclonedx-cli, which results in a missing metadata.component, causing a panic.

Signed-off-by: Keith Zantow <kzantow@gmail.com>
Copy link
Contributor

@luhring luhring left a comment

Choose a reason for hiding this comment

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

LGTM!

@kzantow kzantow merged commit f4734d2 into anchore:main Mar 17, 2022
@kzantow kzantow deleted the cyclonedx-panic branch March 17, 2022 14:22
GijsCalis pushed a commit to GijsCalis/syft that referenced this pull request Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants