gvfs r1788 - in trunk: . common
- From: tbzatek svn gnome org
- To: svn-commits-list gnome org
- Subject: gvfs r1788 - in trunk: . common
- Date: Tue, 27 May 2008 15:59:47 +0000 (UTC)
Author: tbzatek
Date: Tue May 27 15:59:47 2008
New Revision: 1788
URL: http://svn.gnome.org/viewvc/gvfs?rev=1788&view=rev
Log:
Don't allow setting a null parameter in mountspec (coming from broken backend)
Modified:
trunk/ChangeLog
trunk/common/gmountspec.c
Modified: trunk/common/gmountspec.c
==============================================================================
--- trunk/common/gmountspec.c (original)
+++ trunk/common/gmountspec.c Tue May 27 15:59:47 2008
@@ -123,6 +123,9 @@
{
GMountSpecItem item;
+ g_return_if_fail (key != NULL);
+ g_return_if_fail (value != NULL);
+
item.key = g_strdup (key);
item.value = value;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]