make downloads atomic and verify installed assets #35
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Finding:
Download/install is non-atomic and weakly verified.
Problem:
cmd_downloadwrites directly to final filenames in the asset directory.Impact:
Suggested fix:
Related issues:
Relevant code:
src/cmd_download.zig: direct writes to final asset paths.src/utils.zig: kernel unpack/decompression.