rhythmbox r5779 - in trunk: . plugins/daap
- From: jmatthew svn gnome org
- To: svn-commits-list gnome org
- Subject: rhythmbox r5779 - in trunk: . plugins/daap
- Date: Fri, 27 Jun 2008 11:03:07 +0000 (UTC)
Author: jmatthew
Date: Fri Jun 27 11:03:07 2008
New Revision: 5779
URL: http://svn.gnome.org/viewvc/rhythmbox?rev=5779&view=rev
Log:
2008-06-27 Jonathan Matthew <jonathan d14n org>
* plugins/daap/rb-daap-share.c: (parse_meta):
Don't crash if there's no 'meta=' query arg in the request.
Probably fixes #540391.
Modified:
trunk/ChangeLog
trunk/plugins/daap/rb-daap-share.c
Modified: trunk/plugins/daap/rb-daap-share.c
==============================================================================
--- trunk/plugins/daap/rb-daap-share.c (original)
+++ trunk/plugins/daap/rb-daap-share.c Fri Jun 27 11:03:07 2008
@@ -1302,6 +1302,9 @@
const gchar *attrs;
attrs = g_hash_table_lookup (query, "meta");
+ if (attrs == NULL) {
+ return 0;
+ }
return parse_meta_str (attrs);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]