Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

combine: fix goroutine stack overflow on bad object

Nick Craig-Wooddea6bdf3dfff
diff --git a/backend/combine/combine.go b/backend/combine/combine.go
index f6763ee0d..2e1ad2a7b 100644
--- a/backend/combine/combine.go
+++ b/backend/combine/combine.go
@@ -916,7 +916,7 @@ func (o *Object) String() string {
func (o *Object) Remote() string {
newPath, err := o.u.pathAdjustment.do(o.Object.String())
if err != nil {
- fs.Errorf(o, "Bad object: %v", err)
+ fs.Errorf(o.Object, "Bad object: %v", err)
return err.Error()
}
return newPath