From: Hannah von Reth Date: Fri, 27 Nov 2020 09:03:54 +0000 (+0100) Subject: Fix potential null pointer access X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~21^2~468^2~131 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5927beb08d3e96238df573b630057ea0da44de8e;p=nextcloud-desktop.git Fix potential null pointer access https://sentry.io/organizations/owncloud/issues/1529161263/events/02509984b5ca42ffb3960d9c9e161414/?project=79001&statsPeriod=14d --- diff --git a/src/libsync/discoveryphase.h b/src/libsync/discoveryphase.h index c0e648ba6..5c6eabd2d 100644 --- a/src/libsync/discoveryphase.h +++ b/src/libsync/discoveryphase.h @@ -157,7 +157,7 @@ class DiscoveryPhase : public QObject friend class ProcessDirectoryJob; - ProcessDirectoryJob *_currentRootJob = nullptr; + QPointer _currentRootJob; /** Maps the db-path of a deleted item to its SyncFileItem. *