rpms/sound-juicer/F-12 sound-juicer-mb-crasher.patch, NONE, 1.1 sound-juicer.spec, 1.124, 1.125
Bastien Nocera
hadess at fedoraproject.org
Wed Jan 6 12:17:24 UTC 2010
- Previous message (by thread): rpms/tvtime/devel tvtime.spec,1.46,1.47
- Next message (by thread): rpms/gcompris/devel gcompris-9.0-icon.patch, NONE, 1.1 .cvsignore, 1.19, 1.20 gcompris.spec, 1.47, 1.48 sources, 1.22, 1.23 gcompris-8.3.2-tuxpaint-fullscreen.patch, 1.1, NONE gcompris-8.4.13-icon.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: hadess
Update of /cvs/pkgs/rpms/sound-juicer/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv32095
Modified Files:
sound-juicer.spec
Added Files:
sound-juicer-mb-crasher.patch
Log Message:
* Wed Jan 06 2010 Bastien Nocera <bnocera at redhat.com> 2.28.1-2
- Fix possible MusicBrainz crasher
sound-juicer-mb-crasher.patch:
sj-metadata-musicbrainz3.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
--- NEW FILE sound-juicer-mb-crasher.patch ---
>From 7f94a7b90f823a123bd7aaa2f49600aabfcbc24b Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess at hadess.net>
Date: Thu, 10 Dec 2009 19:30:36 +0000
Subject: Fix crasher when MusicBrainz can't read a disc
But we can.
---
diff --git a/libjuicer/sj-metadata-musicbrainz3.c b/libjuicer/sj-metadata-musicbrainz3.c
index 5845e0a..5374399 100644
--- a/libjuicer/sj-metadata-musicbrainz3.c
+++ b/libjuicer/sj-metadata-musicbrainz3.c
@@ -244,6 +244,9 @@ mb_list_albums (SjMetadata *metadata, char **url, GError **error)
}
priv->disc = mb_read_disc (priv->cdrom);
+ if (priv->disc == NULL)
+ return NULL;
+
if (url != NULL) {
mb_get_submission_url (priv->disc, NULL, 0, buffer, sizeof (buffer));
*url = g_strdup (buffer);
--
cgit v0.8.3.1
Index: sound-juicer.spec
===================================================================
RCS file: /cvs/pkgs/rpms/sound-juicer/F-12/sound-juicer.spec,v
retrieving revision 1.124
retrieving revision 1.125
diff -u -p -r1.124 -r1.125
--- sound-juicer.spec 25 Nov 2009 16:04:23 -0000 1.124
+++ sound-juicer.spec 6 Jan 2010 12:17:23 -0000 1.125
@@ -8,7 +8,7 @@
Name: sound-juicer
Summary: Clean and lean CD ripper
Version: 2.28.1
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPLv2+
Group: Applications/Multimedia
Source: http://download.gnome.org/sources/sound-juicer/2.28/%{name}-%{version}.tar.bz2
@@ -42,11 +42,15 @@ BuildRequires: desktop-file-utils
ExcludeArch: s390 s390x
+# http://git.gnome.org/browse/sound-juicer/patch/?id=7f94a7b90f823a123bd7aaa2f49600aabfcbc24b
+Patch0: sound-juicer-mb-crasher.patch
+
%description
GStreamer-based CD ripping tool. Saves audio CDs to Ogg/vorbis.
%prep
%setup -q
+%patch0 -p1 -b .mb-crasher
%build
# work around a gstreamer problem where it
@@ -125,6 +129,9 @@ fi
%{_mandir}/man1/*
%changelog
+* Wed Jan 06 2010 Bastien Nocera <bnocera at redhat.com> 2.28.1-2
+- Fix possible MusicBrainz crasher
+
* Wed Nov 25 2009 Bastien Nocera <bnocera at redhat.com> 2.28.1-1
- Update to 2.28.1
- Fix crasher on double-free (#539848)
- Previous message (by thread): rpms/tvtime/devel tvtime.spec,1.46,1.47
- Next message (by thread): rpms/gcompris/devel gcompris-9.0-icon.patch, NONE, 1.1 .cvsignore, 1.19, 1.20 gcompris.spec, 1.47, 1.48 sources, 1.22, 1.23 gcompris-8.3.2-tuxpaint-fullscreen.patch, 1.1, NONE gcompris-8.4.13-icon.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list