restic/internal
Michael Eischer 74d90653e0 check: use ReadFull to load pack header in checkPack
This ensures that the pack header is actually read completely.
Previously, for a truncated file it was possible to only read a part of
the header, as backend.Load(...) is not guaranteed to return as many
bytes as requested by the length parameter.
2024-05-18 21:28:54 +02:00
..
2024-05-18 21:28:54 +02:00
2024-04-29 16:21:38 -06:00
2024-02-24 13:47:49 -07:00
2024-05-06 16:54:08 -06:00
2024-05-18 21:28:54 +02:00
2024-04-18 10:02:09 +08:00