storage icon indicating copy to clipboard operation
storage copied to clipboard

archive.TarWithOptions swallows error

Open hanwen-flow opened this issue 11 months ago • 0 comments

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.).

hanwen-flow avatar Feb 03 '25 16:02 hanwen-flow