Restore treats a single tar entry over 8 GiB as empty and succeeds #100
Labels
No labels
bug
docs
duplicate
enhancement
help wanted
invalid
nice-to-have
pre-1.0
question
security
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jfro/lamplighter#100
Loading…
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?
Found by Nye while checking PR #97 (#96 backup/restore) at
39a2eb0. Low; the disk does not fill.Erlang's
:erl_tarreads a single crafted entry larger than 8 GiB (past the ustar size field) as empty. Restore then reports success with that table empty instead of refusing the archive.Expected: restore refuses an archive whose entry sizes do not match what the manifest says (or any entry over the cap), and writes nothing.
Not in v1.4.