Skip to content

Comments

[backport] Fix crash when checking the sync file status (#11982)#12000

Merged
DeepDiver1975 merged 1 commit into5from
backport/11982
Nov 29, 2024
Merged

[backport] Fix crash when checking the sync file status (#11982)#12000
DeepDiver1975 merged 1 commit into5from
backport/11982

Conversation

@DeepDiver1975
Copy link
Member

Sometimes a Folder is created for a local path that we cannot sync (e.g. it's not writable). This folder will not have a sync engine. If the engine of this Folder is accessed, this will lead to a crash.

The fix is to check for the existance of a sync engine in the Folder::canSync() method.

Fixes: #11981

Sometimes a `Folder` is created for a local path that we cannot sync
(e.g. it's not writable). This folder will not have a sync engine. If
the engine of this `Folder` is accessed, this will lead to a crash.

The fix is to check for the existance of a sync engine in the
`Folder::canSync()` method.

Fixes: #11981
@DeepDiver1975 DeepDiver1975 merged commit e04263d into 5 Nov 29, 2024
@DeepDiver1975 DeepDiver1975 deleted the backport/11982 branch November 29, 2024 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants