CycloneDX/sbom-utility

`diff` panics while diffing two files

オープン

#74 opened on 2024/03/20

 (9 件のコメント) (0 件のリアクション) (1 人の担当者)Go (20 件のフォーク)auto 404
bugenhancementhelp wanted

Repository metrics

Stars
 (155 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド