Revert "Fix off-by-one error in get_blob with Range (#766)" (#1295)

This reverts commit b4c00ebe90.
This commit is contained in:
Mauro D. 2025-03-09 17:21:55 +01:00 committed by GitHub
parent d49a373102
commit 927576583d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -77,7 +77,7 @@ impl BlobStore {
_ => return result,
};
if range.end > decompressed.len() {
if range.end >= decompressed.len() {
Ok(Some(decompressed))
} else {
Ok(Some(