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: decoding null apk metadata pullDependencies #1614

Merged

Conversation

kzantow
Copy link
Contributor

@kzantow kzantow commented Feb 23, 2023

If APK Metadata JSON contains a "pullDependencies": null, this will cause Syft to fail to parse the entire SBOM with an error invalid type for string array: <nil>. This PR corrects the issue.

Signed-off-by: Keith Zantow <kzantow@gmail.com>
@kzantow kzantow added the bug Something isn't working label Feb 23, 2023
@kzantow kzantow enabled auto-merge (squash) February 23, 2023 19:51
@kzantow kzantow merged commit 5e8aa4d into anchore:main Feb 23, 2023
@kzantow kzantow deleted the fix/apk-metadata-dependency-decoding branch February 23, 2023 20:01
GijsCalis pushed a commit to GijsCalis/syft that referenced this pull request Feb 19, 2024
Signed-off-by: Keith Zantow <kzantow@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants