mirror of
https://github.com/octoleo/restic.git
synced 2024-12-25 12:09:59 +00:00
74d90653e0
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. |
||
---|---|---|
.. | ||
testdata | ||
checker_test.go | ||
checker.go | ||
testing.go |