CycloneDX/sbom-utility

`diff` panics while diffing two files

开放

#74 创建于 2024年3月20日

 (9 条评论) (0 个反应) (1 位负责人)Go (20 个派生)auto 404
bugenhancementhelp wanted

仓库指标

星标
 (155 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Hi, I'm trying to compare two SBoMs generated with two different versions of trivy.

sbom-utils thinks hard for a bit and then panics with panic: runtime error: slice bounds out of range [2004:1743]

Here are the files:

nats-box-49.sbom.json nats-box-50.sbom.json

And this is the command line I've used:

sbom-utility diff --input-file nats-box-49.sbom.json --input-revision nats-box-50.sbom.json

贡献者指南