mirror of
https://github.com/rclone/rclone.git
synced 2026-10-06 13:02:30 -04:00
Gzip metadata is read from the wrapped remote and could contain an invalid block size or incomplete block index. A range read could then panic in the seekable gzip reader. Validate the gzip sidecar invariants before constructing a reader so malformed remote metadata returns an error instead of crashing rclone.