Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
GNOME:STABLE:3.16
gtk3
gtk3-places-sidebar-no-crash.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gtk3-places-sidebar-no-crash.patch of Package gtk3
From 37cc6358557d5aa9ebd0b986af17a837d6a94aca Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger <dimstar@opensuse.org> Date: Thu, 29 Oct 2015 13:56:18 +0100 Subject: [PATCH] placessidebar: do not crash if uris is NULL On Drag'n'Drop actions across system boundaries (VM host to gues), the happen to be null. https://bugzilla.gnome.org/show_bug.cgi?id=757298 --- gtk/gtkplacessidebar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c index 42179c3..8dc6d30 100644 --- a/gtk/gtkplacessidebar.c +++ b/gtk/gtkplacessidebar.c @@ -1708,7 +1708,7 @@ build_file_list_from_uris (const gchar **uris) gint i; result = NULL; - for (i = 0; uris[i]; i++) + for (i = 0; uris && uris[i]; i++) { GFile *file; -- 2.6.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor