Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Nov 29, 2024

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
6 checks passed
@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