Hello community,

here is the log from the commit of package gtk3 for openSUSE:Factory checked in 
at 2015-11-04 15:30:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gtk3 (Old)
 and      /work/SRC/openSUSE:Factory/.gtk3.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gtk3"

Changes:
--------
--- /work/SRC/openSUSE:Factory/gtk3/gtk3.changes        2015-10-25 
19:07:42.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.gtk3.new/gtk3.changes   2015-11-04 
15:30:22.000000000 +0100
@@ -1,0 +2,8 @@
+Thu Oct 29 12:59:43 UTC 2015 - [email protected]
+
+- Add gtk3-places-sidebar-no-crash.patch: Do not crash if dragging
+  something over the places sidebar, that has no valid URI (mostly
+  coming from a host system into a guest system) (boo#952356,
+  bgo#757298).
+
+-------------------------------------------------------------------

New:
----
  gtk3-places-sidebar-no-crash.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gtk3.spec ++++++
--- /var/tmp/diff_new_pack.ONIgWL/_old  2015-11-04 15:30:24.000000000 +0100
+++ /var/tmp/diff_new_pack.ONIgWL/_new  2015-11-04 15:30:24.000000000 +0100
@@ -47,6 +47,8 @@
 ## PATCH-DISABLED gtk3-bnc130159-bgo319483-async-font-selection.patch - 
Upstream bug was closed as obsolete in 2011, lets see if anyone complains. 
 # PATCH-FIX-UPSTREAM gtk3-bnc130159-bgo319483-async-font-selection.patch 
bnc130159 bgo319483 [email protected] - Load fonts asynchronously in 
GtkFontSelection to make it appear faster for CJK languages
 Patch3:         gtk3-bnc130159-bgo319483-async-font-selection.patch
+# PATCH-FIX-UPSTREAM gtk3-places-sidebar-no-crash.patch boo#952356 bgo#757298 
[email protected] -- Don't crash when dragging files from host to guest over 
sidebar
+Patch4:         gtk3-places-sidebar-no-crash.patch
 BuildRequires:  cups-devel >= 1.2
 BuildRequires:  docbook-xsl-stylesheets
 BuildRequires:  fdupes
@@ -338,6 +340,7 @@
 %patch1 -p0
 ## PATCH-DISABLED - Upstream bug was closed as obsolete in 2011, as there was 
a new fontchooser, lets disable the patch and see if anyone complains.
 #%%patch3 -p1
+%patch4 -p1
 
 %build
 # Needed for patch1 and patch4

++++++ gtk3-places-sidebar-no-crash.patch ++++++
>From 37cc6358557d5aa9ebd0b986af17a837d6a94aca Mon Sep 17 00:00:00 2001
From: Dominique Leuenberger <[email protected]>
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


Reply via email to