mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 23:28:14 +03:00
722918abd6
When there is no errors _syncResult.firstItemError() is NULL, and accessing it's _file member is an undefined behavior. (Thankfully, createGuiLog did not use the string when the count was 0, but we are not supposed to create null references. Found with the UB sanitizer: src/gui/folder.cpp:348:49: runtime error: member access within null pointer of type 'OCC::SyncFileItem' src/gui/folder.cpp:348:19: runtime error: reference binding to null pointer of type 'const QString' |
||
---|---|---|
.. | ||
3rdparty | ||
cmd | ||
crashreporter | ||
gui | ||
libsync | ||
CMakeLists.txt |