Skip to content

Fails to generate SBOM #4

Description

@anthonyharrison

Tried on a Python repository and I get a runtime failure.

panic: runtime error: slice bounds out of range [2:0]

goroutine 1 [running]:
github.com/advanced-security/gh-sbom/pkg/dependency-graph.makeQuery({0x7a1f08, 0xc000068440}, {0x7fffd27c522b, 0xf}, {0x7fffd27c523b, 0x4}, 0x0, 0x0, 0xc000101a70, 0xc00011b7e0)
github.com/advanced-security/gh-sbom/pkg/dependency-graph/client.go:86 +0x7c6
github.com/advanced-security/gh-sbom/pkg/dependency-graph.GetDependencies({0x7fffd27c522b, 0xf}, {0x7fffd27c523b, 0x4})
github.com/advanced-security/gh-sbom/pkg/dependency-graph/client.go:56 +0x1d3
main.main()
github.com/advanced-security/gh-sbom/main.go:179 +0x1df

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions