Skip to content

Stop spinning forever and leaking disk space when unpacking images with corrupt layers - #927

Merged
dkovba merged 3 commits into
apple:mainfrom
dkovba:fail-unpack
Sep 18, 2026
Merged

dkovba merged 3 commits into
apple:mainfrom
dkovba:fail-unpack

Conversation

@dkovba

@dkovba dkovba commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Fixes issues in the image unpack:

  • A truncated or corrupt layer of any format made the unpack spin forever instead of failing.
  • A half-written filesystem was left on disk when an unpack failed (didn't affect apple/container).

A read failure now ends the unpack, and a failed or cancelled unpack removes what it wrote.

@dkovba
dkovba merged commit d29e00a into apple:main Sep 18, 2026
7 checks passed
@dkovba
dkovba deleted the fail-unpack branch September 18, 2026 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants