Skip to content

archive.TarWithOptions swallows error #2243

@hanwen-flow

Description

@hanwen-flow

See https://github.com/containers/storage/blob/main/pkg/archive/archive.go#L1005

If something went wrong (eg. I/O error), this code happily continues. This has the potential to silently introduce corruption in applications of tar streams (eg. images, copies, snapshots etc.).

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