Restic slice bounds out of range?

Are you sure that you’ve used that binary that includes the additional chunker.go change? We previously saw exactly the same crash for if n < 0 {. And as that variant of the check didn’t match previously, if n > cap(buf) should match instead and result in a different error.