nextcloud-desktop/src/libsync
Jocelyn Turcotte 4a890eae38 SyncEngine: Fix a crash caused by an invalid DiscoveryDirectoryResult::iterator #3051
The default constructor of the iterator points to NULL, which makes
it != end() but invalid to dereference.

Use an integer index instead to keep 0 as a valid default value that
can always correctly be checked against size().

Also make sure that no data is shared between threads by making the
csync_vio_file_stat_t copyable and passing it as const.
2015-04-08 09:35:43 +02:00
..
creds Remove unused HttpConfigFile. 2015-03-27 13:20:10 +01:00
accessmanager.cpp Namespace fixes 2014-12-02 14:20:13 +01:00
accessmanager.h Merge branch 'master' into rename_client 2014-11-12 00:07:59 +01:00
account.cpp Merge remote-tracking branch into 1.8 2015-04-07 08:02:55 +02:00
account.h Merge remote-tracking branch into 1.8 2015-04-07 08:02:55 +02:00
accountfwd.h Use global Account/AccountState less. 2014-12-18 15:39:51 +01:00
authenticationdialog.cpp Adjust namespaces 2014-11-09 22:34:07 +01:00
authenticationdialog.h Adjust namespaces 2014-11-09 22:34:07 +01:00
bandwidthmanager.cpp Propagator: Fix crash 2015-02-06 11:19:41 +01:00
bandwidthmanager.h Propagator: Fix crash 2015-02-06 11:19:41 +01:00
clientproxy.cpp Proxy: Fix compile harder 2015-03-27 11:02:19 +01:00
clientproxy.h Proxy: Fix compile harder 2015-03-27 11:02:19 +01:00
CMakeLists.txt Remove unused HttpConfigFile. 2015-03-27 13:20:10 +01:00
configfile.cpp Activity: Correctly restore column sizes 2015-03-23 18:22:25 +01:00
configfile.h application: --confdir option with invalid direcotry now exit 2015-03-23 15:02:27 +01:00
connectionvalidator.cpp Proxy: More debug, always set returned system proxy 2015-03-27 11:53:58 +01:00
connectionvalidator.h Proxy: Look up system proxy from different thread 2015-03-25 08:52:23 +01:00
cookiejar.cpp CookieJar: Don't accidentally overwrite cookies. #2808 2015-03-27 10:49:24 +01:00
cookiejar.h CookieJar: Don't accidentally overwrite cookies. #2808 2015-03-27 10:49:24 +01:00
discoveryphase.cpp SyncEngine: Fix a crash caused by an invalid DiscoveryDirectoryResult::iterator #3051 2015-04-08 09:35:43 +02:00
discoveryphase.h SyncEngine: Fix a crash caused by an invalid DiscoveryDirectoryResult::iterator #3051 2015-04-08 09:35:43 +02:00
filesystem.cpp Uploads: Fix big seeks on Windows. #2954 2015-03-12 13:18:08 +01:00
filesystem.h Uploads: Fix big seeks on Windows. #2954 2015-03-12 13:18:08 +01:00
logger.cpp Add a NO_MSG_HANDLER cmake option 2015-02-19 16:57:16 +01:00
logger.h Logger: use qFormatLogMessage with Qt 5.4 so it respects the Qt logging preferences 2015-02-14 14:23:01 +01:00
networkjobs.cpp PropfindJob: fix xml parsing 2015-04-07 10:35:27 +02:00
networkjobs.h Revert "SetupW: Display proper error messages if password or user was wrong." 2015-03-10 11:17:35 +01:00
owncloudpropagator.cpp Propagator: Fix compile 2015-03-30 08:41:53 +02:00
owncloudpropagator.h Fix clang warnings about deleting incomplete 'Account'. 2015-03-27 11:11:44 +01:00
owncloudpropagator_p.h Propagator: Fix compile 2015-03-30 08:41:53 +02:00
owncloudtheme.cpp Fix build when compiling libsync without QtGui 2015-02-16 10:24:42 +01:00
owncloudtheme.h Merge branch 'master' into rename_client 2014-12-02 13:37:22 +01:00
ownsql.cpp SQL: Improve error reporting of failed exec(). #2693 2015-01-29 09:47:48 +01:00
ownsql.h Merge remote-tracking branch 'origin/1.7' 2014-12-10 13:01:36 +01:00
progressdispatcher.cpp Activity: Set a message for conflicts. #2792 2015-03-12 10:00:45 +01:00
progressdispatcher.h potential fix for #1865 2015-01-08 11:42:14 +01:00
propagatedownload.cpp Propagator: Fix compile 2015-03-30 08:41:53 +02:00
propagatedownload.h Propagator: Introduce custom property to make error soft 2015-03-17 23:31:30 +01:00
propagateremotedelete.cpp Remote delete: Consider 404 a success. #2919 2015-03-19 10:04:02 +01:00
propagateremotedelete.h Use global Account/AccountState less. 2014-12-18 15:39:51 +01:00
propagateremotemkdir.cpp Propagator: Let network propagator job understand a new header OC-ErrorString 2015-02-26 15:53:09 +01:00
propagateremotemkdir.h Propagate Remote mkdir: save the fileid to the database early 2015-01-22 15:11:04 +01:00
propagateremotemove.cpp Lnk: Work around QFile::rename() #2792 2015-03-11 12:29:33 +01:00
propagateremotemove.h Use global Account/AccountState less. 2014-12-18 15:39:51 +01:00
propagateupload.cpp Propagator: Debug output regarding OC-ETag 2015-03-27 13:16:11 +01:00
propagateupload.h Fix a crash when accessing a dangling UploadDevice pointer #2984 2015-03-23 16:14:54 +01:00
propagator_legacy.cpp Lnk: Work around QFile::rename() #2792 2015-03-11 12:29:33 +01:00
propagator_legacy.h Merge branch 'master' into rename_client 2014-12-02 13:37:22 +01:00
propagatorjobs.cpp Lnk: Work around QFile::rename() #2792 2015-03-11 12:29:33 +01:00
propagatorjobs.h Make it compile without neon 2015-01-23 17:56:46 +01:00
syncengine.cpp SyncEngine: Show more timing measurements #3064 2015-04-02 15:18:46 +02:00
syncengine.h Discovery: Free some memory before propagate (#2902) 2015-03-02 15:08:21 +01:00
syncfileitem.h Fix the build with GCC 4.7 2015-03-12 14:54:11 +01:00
syncfilestatus.cpp Adjust namespaces 2014-11-09 22:34:07 +01:00
syncfilestatus.h Adjust namespaces 2014-11-09 22:34:07 +01:00
syncjournaldb.cpp SyncJournal: Use DELETE journal mode on FAT filesystems. #2693 2015-02-11 14:03:55 +01:00
syncjournaldb.h Make public API explicit about blacklist kind. #2301 2015-01-16 10:17:19 +01:00
syncjournalfilerecord.cpp Make public API explicit about blacklist kind. #2301 2015-01-16 10:17:19 +01:00
syncjournalfilerecord.h Make public API explicit about blacklist kind. #2301 2015-01-16 10:17:19 +01:00
syncresult.cpp Adjust namespaces 2014-11-09 22:34:07 +01:00
syncresult.h Adjust namespaces 2014-11-09 22:34:07 +01:00
theme.cpp Themes: Cache icons instead of rebuilding a lot. 2015-03-25 14:59:28 +01:00
theme.h theme: fix compilation of libsync without QtGui 2015-04-03 11:27:06 +02:00
utility.cpp Fix build when compiling libsync without QtGui 2015-02-16 10:24:42 +01:00
utility.h Fix build when compiling libsync without QtGui 2015-02-16 10:24:42 +01:00
utility_mac.cpp Switch monochrome systray icon color depending on systray brightness. 2014-10-24 21:52:41 +02:00
utility_unix.cpp Switch monochrome systray icon color depending on systray brightness. 2014-10-24 21:52:41 +02:00
utility_win.cpp Switch monochrome systray icon color depending on systray brightness. 2014-10-24 21:52:41 +02:00
version.h.in Split into three separate projects: library, gui and cmd 2014-07-11 11:07:31 +02:00