mirror of
https://github.com/restic/restic.git
synced 2026-11-20 12:36:55 +00:00
internal/repository: Fix LoadBlob + fuzz test
When given a buf that is big enough for a compressed blob but not its decompressed contents, the copy at the end of LoadBlob would skip the last part of the contents. Fixes #3783.
This commit is contained in:
1 parent
b7c990871f
commit
c9557b2822
4 files changed
+50
-1
No files matched your search
@@ -0,0 +1,2 @@
|
||||
# Workaround for https://github.com/golang/go/issues/52268.
|
||||
**/testdata/fuzz/*/* eol=lf
|
||||
Reference in new issue
Block a user