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 panic when CycloneDX BOM missing metadata.component #895

Merged
merged 1 commit into from Mar 17, 2022

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants