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 crash caused due to null accountstate in FileProviderSocketController #7322

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

claucambra
Copy link
Collaborator

@claucambra claucambra commented Oct 15, 2024

Fix crash caused by null accountstate due to bad domain identifier parsed from FPExt

Turns out since we are forced to replace colons with hyphens we need to replace them back to colons when we receive the domain identifier from the file provider extension. If we do not then we get a null accountState pointer in the socket controller and this causes a crash

Closes #7277

@claucambra
Copy link
Collaborator Author

/backport to stable-3.14

@claucambra claucambra force-pushed the bugfix/vfs-crash-socketcontroller branch from f50cf8e to 0613ec4 Compare October 16, 2024 07:29
…rsed from FPExt

Turns out since we are forced to replace colons with hyphens we need to
replace them back to colons when we receive the domain identifier from
the file provider extension. If we do not then we get a null
accountState pointer in the socket controller and this causes a crash

Signed-off-by: Claudio Cambra <[email protected]>
@claucambra claucambra force-pushed the bugfix/vfs-crash-socketcontroller branch from 0613ec4 to 14a9382 Compare October 16, 2024 07:50
@nextcloud-desktop-bot
Copy link

AppImage file: nextcloud-PR-7322-14a9382772e00122f1537855c9549ee76a0e3519-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.

@claucambra claucambra merged commit e02cf85 into master Oct 16, 2024
11 of 14 checks passed
@claucambra claucambra deleted the bugfix/vfs-crash-socketcontroller branch October 16, 2024 08:09
Copy link

sonarcloud bot commented Oct 16, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: nextcloud VFS client keep crashing on macos 15.0.1
3 participants