Hello community,

here is the log from the commit of package seed for openSUSE:Factory checked in 
at 2014-05-20 14:25:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/seed (Old)
 and      /work/SRC/openSUSE:Factory/.seed.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "seed"

Changes:
--------
--- /work/SRC/openSUSE:Factory/seed/seed.changes        2013-04-26 
15:53:30.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.seed.new/seed.changes   2014-05-20 
14:27:27.000000000 +0200
@@ -1,0 +2,8 @@
+Thu Apr  3 17:12:04 UTC 2014 - mgo...@suse.com
+
+- Add
+  0001-seed_script_destroy-only-unref-source_url-if-it-exis.patch:
+  Don't crash when creating a script with a NULL source_url
+  (bgo#702082).
+
+-------------------------------------------------------------------
seed2.changes: same change

New:
----
  0001-seed_script_destroy-only-unref-source_url-if-it-exis.patch

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

Other differences:
------------------
++++++ seed.spec ++++++
--- /var/tmp/diff_new_pack.LaN9Oy/_old  2014-05-20 14:27:28.000000000 +0200
+++ /var/tmp/diff_new_pack.LaN9Oy/_new  2014-05-20 14:27:28.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package seed
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -43,6 +43,8 @@
 Group:          Development/Libraries/GNOME
 Url:            http://live.gnome.org/Seed
 Source:         
http://download.gnome.org/sources/seed/3.8/%{_name}-%{version}.tar.xz
+# PATCH-FIX-UPSTREAM 
0001-seed_script_destroy-only-unref-source_url-if-it-exis.patch bgo#702082 
mgo...@suse.com -- don't crash when creating a script with a NULL source_url.
+Patch0:         0001-seed_script_destroy-only-unref-source_url-if-it-exis.patch
 BuildRequires:  cairo-devel
 BuildRequires:  dbus-1-glib-devel
 BuildRequires:  gnome-js-common
@@ -119,6 +121,7 @@
 
 %prep
 %setup -q -n %{_name}-%{version}
+%patch0 -p1
 
 %build
 %configure \

++++++ seed2.spec ++++++
--- /var/tmp/diff_new_pack.LaN9Oy/_old  2014-05-20 14:27:28.000000000 +0200
+++ /var/tmp/diff_new_pack.LaN9Oy/_new  2014-05-20 14:27:28.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package seed2
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -43,6 +43,8 @@
 Group:          Development/Libraries/GNOME
 Url:            http://live.gnome.org/Seed
 Source:         
http://download.gnome.org/sources/seed/3.8/%{_name}-%{version}.tar.xz
+# PATCH-FIX-UPSTREAM 
0001-seed_script_destroy-only-unref-source_url-if-it-exis.patch bgo#702082 
mgo...@suse.com -- don't crash when creating a script with a NULL source_url.
+Patch0:         0001-seed_script_destroy-only-unref-source_url-if-it-exis.patch
 BuildRequires:  cairo-devel
 BuildRequires:  dbus-1-glib-devel
 BuildRequires:  gnome-js-common
@@ -119,6 +121,7 @@
 
 %prep
 %setup -q -n %{_name}-%{version}
+%patch0 -p1
 
 %build
 %configure \

++++++ 0001-seed_script_destroy-only-unref-source_url-if-it-exis.patch ++++++
>From 96e375f91cdeb48dc4d5da7f24d4ce0f8a1b54e9 Mon Sep 17 00:00:00 2001
From: Emilio Pozuelo Monfort <emilio.pozu...@collabora.co.uk>
Date: Wed, 12 Jun 2013 11:10:12 +0200
Subject: [PATCH] seed_script_destroy: only unref source_url if it exists

Fixes a crash when creating a script with a NULL source_url,
which is documented to be fine.

https://bugzilla.gnome.org/show_bug.cgi?id=702082
---
 libseed/seed-api.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libseed/seed-api.c b/libseed/seed-api.c
index ced6704..79d61cb 100644
--- a/libseed/seed-api.c
+++ b/libseed/seed-api.c
@@ -415,7 +415,8 @@ void
 seed_script_destroy (SeedScript * s)
 {
   seed_string_unref (s->script);
-  seed_string_unref (s->source_url);
+  if (s->source_url)
+    seed_string_unref (s->source_url);
 
   g_free (s);
 }
-- 
1.8.4

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to