1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2025-03-10 06:03:35 +00:00
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
..
archiver Improve command shutdown on context cancellation 2024-04-22 22:31:38 +02:00
backend repository: move backend.LoadAll to repository.LoadRaw 2024-05-18 21:26:00 +02:00
bloblru bloblru: add test for GetOrCompute 2024-05-05 12:00:25 +02:00
cache cache: cleanup debug logs 2024-05-18 21:28:54 +02:00
checker check: use ReadFull to load pack header in checkPack 2024-05-18 21:28:54 +02:00
crypto replace "too small" with "too short" in error messages 2024-05-18 19:59:26 +02:00
debug Fix review comments 2024-04-29 16:21:38 -06:00
dump dump: add GetOrCompute to bloblru cache 2024-05-05 11:38:42 +02:00
errors
feature Use generic backend-error-redesign feature flag instead of http-timeouts 2024-05-18 19:54:52 +02:00
filter
fs Fix review comments 2024-05-06 16:54:08 -06:00
fuse fuse: switch to use bloblru.GetOrCompute 2024-05-05 11:38:42 +02:00
hashing
index replace "too small" with "too short" in error messages 2024-05-18 19:59:26 +02:00
migrations debug/repair packs/upgrade repo v2: use repository.LoadRaw 2024-05-18 21:26:00 +02:00
options
pack replace "too small" with "too short" in error messages 2024-05-18 19:59:26 +02:00
repository fix compatibility with go 1.19 2024-05-18 21:28:54 +02:00
restic repository: move backend.LoadAll to repository.LoadRaw 2024-05-18 21:26:00 +02:00
restorer
selfupdate
test
textfile
ui ui/progress: add helper to print messages during tests 2024-04-14 13:45:08 +02:00
walker Fix struct names 2024-04-18 10:02:09 +08:00