mirror of
https://github.com/restic/restic.git
synced 2025-08-20 21:47:39 +00:00
mem: stricter handling of out of bounds requests
This commit is contained in:
@@ -96,7 +96,7 @@ func TestDry(t *testing.T) {
|
||||
}
|
||||
case "load":
|
||||
data := ""
|
||||
err = step.be.Load(ctx, handle, 100, 0, func(rd io.Reader) error {
|
||||
err = step.be.Load(ctx, handle, 0, 0, func(rd io.Reader) error {
|
||||
buf, err := io.ReadAll(rd)
|
||||
data = string(buf)
|
||||
return err
|
||||
|
Reference in New Issue
Block a user