From 01e4363df352a3cc1a5506bcc1c107fdff943838 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 14 Apr 2008 04:44:23 +0000 Subject: [PATCH] Fix a bug that causes application crashes --- gvfs.spec | 7 ++++++- regexxer-crash.patch | 13 +++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 regexxer-crash.patch diff --git a/gvfs.spec b/gvfs.spec index 3619603..0b22e31 100644 --- a/gvfs.spec +++ b/gvfs.spec @@ -1,7 +1,7 @@ Summary: Backends for the gio framework in GLib Name: gvfs Version: 0.2.3 -Release: 2%{?dist} +Release: 3%{?dist} License: LGPLv2+ Group: System Environment/Libraries URL: http://www.gtk.org @@ -35,6 +35,7 @@ BuildRequires: automake autoconf BuildRequires: libtool Patch1: gvfs-0.2.2-archive-integration.patch Patch2: gvfs-64clean.patch +Patch3: regexxer-crash.patch %description The gvfs package provides backend implementations for the gio @@ -65,6 +66,7 @@ to access the gvfs filesystems. %setup -q %patch1 -p0 -b .archive-integration %patch2 -p1 -b .64clean +%patch3 -p1 -b .regexxer-crash %build @@ -178,6 +180,9 @@ update-desktop-database &> /dev/null ||: %changelog +* Mon Apr 14 2008 Matthias Clasen - 0.2.3-3 +- Fix a bug that causes application crashes (#441084) + * Fri Apr 11 2008 Matthias Clasen - 0.2.3-2 - Fix a crash of the fuse daemon on 64bit diff --git a/regexxer-crash.patch b/regexxer-crash.patch new file mode 100644 index 0000000..90ad95f --- /dev/null +++ b/regexxer-crash.patch @@ -0,0 +1,13 @@ +diff -up gvfs-0.2.3/common/gmounttracker.c.regexxer-crash gvfs-0.2.3/common/gmounttracker.c +--- gvfs-0.2.3/common/gmounttracker.c.regexxer-crash 2008-04-14 00:41:08.000000000 -0400 ++++ gvfs-0.2.3/common/gmounttracker.c 2008-04-14 00:41:26.000000000 -0400 +@@ -236,7 +236,8 @@ g_mount_tracker_finalize (GObject *objec + + tracker = G_MOUNT_TRACKER (object); + +- g_mutex_free (tracker->lock); ++ if (tracker->lock) ++ g_mutex_free (tracker->lock); + + g_list_foreach (tracker->mounts, + (GFunc)g_mount_info_unref, NULL);