rclone/backend
Nick Craig-Wood 807f1cedaa hasher: fix crash on object not found
Before this fix `NewObject` could return a wrapped `fs.Object(nil)`
which caused a crash. This was caused by `wrapObject` returning a
`nil` `*Object` which was cast into an `fs.Object`.

This changes the interface of `wrapObject` so it returns an
`fs.Object` instead of a `*Object` and an error which must be checked.
This forces the callers to return a `nil` object rather than an
`fs.Object(nil)`.

See: https://forum.rclone.org/t/panic-in-hasher-when-mounting-with-vfs-cache-and-not-synced-data-in-the-cache/29697/11
2022-03-16 11:30:26 +00:00
..
alias docs: punctuation cleanup 2021-10-20 22:56:19 +02:00
all Add Akamai Netstorage as a new backend. 2022-03-09 12:42:22 +00:00
amazonclouddrive Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
azureblob azureblob: fix crash with SAS URL and no container - fixes #5820 2021-11-27 16:18:18 +00:00
b2 docs: add a note about the B2 download_url format 2021-11-23 17:57:34 +00:00
box Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
cache Fix repeated error messages after pkg/errors removal 2021-11-15 17:58:40 +00:00
chunker Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
compress compress: fix memory leak - fixes #6013 2022-03-03 17:10:21 +00:00
crypt local: fix hash invalidation which caused errors with local crypt mount 2021-11-24 12:09:34 +00:00
drive drive: when using a link type --drive-export-formats show all doc types 2022-02-25 16:08:11 +00:00
dropbox dropbox: speed up directory listings by specifying 1000 items in a chunk 2021-11-11 11:14:22 +00:00
fichier Fix linting errors 2022-01-26 00:02:17 +01:00
filefabric Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
ftp ftp: hard fork github.com/jlaffaye/ftp to fix go get 2022-03-07 09:55:49 +00:00
googlecloudstorage drive,gcs,googlephotos: disable OAuth OOB flow (copy a token) due to google deprecation 2022-02-18 12:46:30 +00:00
googlephotos drive,gcs,googlephotos: disable OAuth OOB flow (copy a token) due to google deprecation 2022-02-18 12:46:30 +00:00
hasher hasher: fix crash on object not found 2022-03-16 11:30:26 +00:00
hdfs config: remove explicit setting of required property to its default value false 2022-01-16 14:57:38 +01:00
http http: improved recognition of url pointing to a single file - fixes #5929 2022-01-26 11:41:01 +01:00
hubic Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
jottacloud backend:jottacloud change api used by ListR ( --fast-list ) 2021-12-01 14:21:37 +01:00
koofr koofr: renamed digistorage to exclude the romania part. 2022-03-08 22:39:23 +00:00
local local: fix hash invalidation which caused errors with local crypt mount 2021-11-24 12:09:34 +00:00
mailru mailru: fix int32 overflow on arm32 - fixes #6003 2022-03-06 13:33:57 +00:00
mega mega: fix error handling broken by removal of github.com/pkg/errors 2021-11-09 13:43:45 +00:00
memory Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
netstorage Add Akamai Netstorage as a new backend. 2022-03-09 12:42:22 +00:00
onedrive onedrive: Do not retry on 400 pathIsTooLong 2022-03-06 13:05:05 +00:00
opendrive Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
pcloud pcloud: fix pre-1970 time stamps - fixes #5917 2022-03-03 17:18:40 +00:00
premiumizeme Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
putio Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
qingstor Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
s3 s3: add other regions for Lyve and correct Provider name 2022-03-14 15:43:35 +00:00
seafile Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
sftp docs/ftp: improved default value description of port and username options 2022-01-16 14:57:38 +01:00
sharefile Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
sia Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
storj storj: implement server side Move 2022-03-14 15:44:56 +00:00
sugarsync Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
swift swift: fix about so it shows info about the current container only 2022-02-22 12:55:57 +00:00
union union: fix deadlock when one part of a multi-upload fails 2022-03-09 11:30:55 +00:00
uptobox Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
webdav Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
yandex yandex: add permanent deletion support 2021-11-17 16:57:41 +00:00
zoho Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00