[Xfce4-commits] [xfce/thunar] 03/05: Coverity CID 60620: Explicit null dereferenced
noreply at xfce.org
noreply at xfce.org
Wed Apr 22 13:44:38 CEST 2015
This is an automated email from the git hooks/post-receive script.
hjudt pushed a commit to branch master
in repository xfce/thunar.
commit 957012d6f4afcd8648784ad7de4fc676d457898a
Author: Harald Judt <h.judt at gmx.at>
Date: Wed Apr 22 13:00:19 2015 +0200
Coverity CID 60620: Explicit null dereferenced
CID 60620 (#1 of 1): Explicit null dereferenced (FORWARD_NULL)
17. var_deref_model: Passing null pointer file_list to
thunar_application_unlink_files, which dereferences it.
---
thunar/thunar-dbus-service.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/thunar/thunar-dbus-service.c b/thunar/thunar-dbus-service.c
index 2f26f98..56d0bf2 100644
--- a/thunar/thunar-dbus-service.c
+++ b/thunar/thunar-dbus-service.c
@@ -1288,7 +1288,7 @@ thunar_dbus_service_unlink_files (ThunarDBusService *dbus_service,
}
/* check if we succeeded */
- if (err == NULL)
+ if (err == NULL && file_list != NULL)
{
/* tell the application to move the specified files to the trash */
application = thunar_application_get ();
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list