mirror of
https://github.com/restic/restic.git
synced 2025-01-31 03:31:21 +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.go | ||
checker_test.go | ||
testing.go |