1
0
mirror of https://github.com/rclone/rclone.git synced 2025-12-15 15:53:41 +00:00
Files
rclone/backend/compress
Nick Craig-Wood 1f28f4d05d compress: fix crash due to nil metadata #6434
Before this fix, if an error ocurred reading the metadata, it could be
set as nil and then used, causing a crash.

This fix changes the readMetadata function so it returns an error, and
the error is always set if the metadata returned is nil.
2022-09-17 16:37:26 +01:00
..