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

貢獻者指南