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

Fix crashing of finder sync extension caused by dispatch_source_cancel of nullptr #4520

Merged
merged 1 commit into from
May 16, 2022

Conversation

claucambra
Copy link
Collaborator

This PR addresses crashing faced by some users of the Finder Sync extension. Stack traces indicate this crashing originates from a bad dispatch queue call, so we are guarding the calls to ensure they are only called if the readSource and writeSource queues are not null.

Addresses #4459

@claucambra
Copy link
Collaborator Author

/rebase

…l of nullptr

Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
@claucambra claucambra force-pushed the bugfix/findersync-crash-fix branch from e2082ff to 683e779 Compare May 16, 2022 10:48
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@claucambra claucambra merged commit e84c6ef into master May 16, 2022
@claucambra claucambra deleted the bugfix/findersync-crash-fix branch May 16, 2022 11:15
@nextcloud-desktop-bot
Copy link

AppImage file: Nextcloud-PR-4520-683e7794a38bb4b03203773bf4d88a88d5fb8f22-x86_64.AppImage

To test this change/fix you can simply download above AppImage file and test it.

Please make sure to quit your existing Nextcloud app and backup your data.

@mgallien mgallien added this to the 3.6.0 milestone May 16, 2022
@claucambra
Copy link
Collaborator Author

/backport to stable-3.5

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.

4 participants