nextcloud-desktop/src
Olivier Goffart 722918abd6 Folder::showSyncResultPopup: Fix undefined behavior when there is no errors
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'
2017-03-20 11:53:13 +01:00
..
3rdparty sqlite: Update bundled version to 3.16.1 2017-01-05 17:27:46 +01:00
cmd Revert "Disable RTTI" 2017-02-07 17:35:04 +01:00
crashreporter cmd and crashreporter minor typos 2015-09-10 17:34:26 +05:45
gui Folder::showSyncResultPopup: Fix undefined behavior when there is no errors 2017-03-20 11:53:13 +01:00
libsync Propagator: change order of destruction 2017-03-16 14:24:25 +01:00
CMakeLists.txt Fix the UNIT_TESTING build on Windows 2017-02-14 14:32:41 +01:00