Skip to content

File handle leaked in _prepare_image gzip decompression #10

@popey

Description

@popey

sbom-vm.py:108open() is passed directly as a stdout kwarg to _run_command and never closed.

Use a with statement or assign to a variable and close in a finally block.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions