rclone/backend/onedrive
Nick Craig-Wood 5511fa441a onedrive: fix nil pointer error when uploading small files
Before this fix when uploading a single part file, if the
o.fetchAndUpdateMetadata() call failed rclone would call
o.setMetaData() with a nil info which caused a crash.

This fixes the problem by returning the error from
o.fetchAndUpdateMetadata() explicitly.

See: https://forum.rclone.org/t/serve-webdav-is-crashing-fatal-error-sync-unlock-of-unlocked-mutex/46300
2024-06-24 09:30:59 +01:00
..
api onedrive: add support for group permissions 2024-05-10 16:25:08 +01:00
quickxorhash fs: update use of math/rand to modern practice 2024-01-03 16:14:40 +00:00
metadata.go onedrive: allow setting permissions to fail if failok flag is set 2024-05-17 11:03:46 +01:00
metadata.md onedrive: skip writing permissions with 'owner' role 2024-05-10 16:25:08 +01:00
onedrive_internal_test.go onedrive: fix references to deprecated permissions properties 2024-05-10 16:25:08 +01:00
onedrive_test.go onedrive: add support for china region operated by 21vianet #4963 (#4963) 2021-01-29 23:04:21 +03:00
onedrive.go onedrive: fix nil pointer error when uploading small files 2024-06-24 09:30:59 +01:00