You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since v3.14.0 the client crashes with an access violation exception when trying to set folder permissions on an exFAT volume on Windows.
Pausing the folder synchronization (by editing nextcloud.cfg) at least allows me to synchronize other folders.
The crash happens when calling GetAclInformation, which seems not to be supported on exFAT:
I'm not very well-versed with the Windows API but after digging some while and reading the GetSecurityDescriptorDacl documentation, the problem seems to be, that resultDacl can be null and daclPresent can be true at the same time after calling GetSecurityDescriptorDacl, which is not checked and causes a null reference to be passed to GetAclInformation.
I've added a simple null check in #7487, however I don't know if there is any other way on setting file permissions on FAT32/exFAT file systems.
Bug description
Since v3.14.0 the client crashes with an access violation exception when trying to set folder permissions on an exFAT volume on Windows.
Pausing the folder synchronization (by editing
nextcloud.cfg
) at least allows me to synchronize other folders.The crash happens when calling
GetAclInformation
, which seems not to be supported on exFAT:desktop/src/libsync/filesystem.cpp
Line 387 in 279b8e4
Stack Trace from WinDbg:
The log file does not contain any errors.
Debug archive:
crash.zip
Steps to reproduce
Expected behavior
The client does not crash like on previous versions
Which files are affected by this bug
All
Operating system
Windows
Which version of the operating system you are running.
Windows 11 23H2
Package
Official Windows MSI
Nextcloud Server version
30.0.2
Nextcloud Desktop Client version
3.14.3
Is this bug present after an update or on a fresh install?
Updated to a major version (ex. 3.3.6 to 3.4.0)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
Are you using an external user-backend?
Nextcloud Server logs
Additional info
Full WinDbg Exception Analysis
The text was updated successfully, but these errors were encountered: