[Pkg-owncloud-commits] [owncloud-client] 36/70: folderwizard: fix possible use of null pointer
Sandro Knauß
hefee-guest at moszumanska.debian.org
Tue Jul 1 10:21:21 UTC 2014
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit 1e788d3d60bf5288e5554655258f34044a50c29e
Author: Olivier Goffart <ogoffart at woboq.com>
Date: Fri Jun 20 11:29:28 2014 +0200
folderwizard: fix possible use of null pointer
Coverity issue 12907
---
src/mirall/folderwizard.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mirall/folderwizard.cpp b/src/mirall/folderwizard.cpp
index d11100d..7b6fa73 100644
--- a/src/mirall/folderwizard.cpp
+++ b/src/mirall/folderwizard.cpp
@@ -170,8 +170,8 @@ bool FolderWizardLocalPath::isComplete() const
bool goon = true;
while( goon && i != map.constEnd() ) {
Folder *f = i.value();
- qDebug() << "Checking local alias: " << f->alias();
if( f ) {
+ qDebug() << "Checking local alias: " << f->alias();
if( f->alias() == alias ) {
warnStrings.append( tr("The alias <i>%1</i> is already in use. Please pick another alias.").arg(alias) );
isOk = false;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list