[Bug 158917] gconfd crashes when changing values with gconf-editor

bugzilla-daemon@bugzilla.gnome.org bugzilla-daemon@bugzilla.gnome.org
Fri, 6 May 2005 07:36:46 -0400 (EDT)


Please DO NOT reply to this by email. All additional comments should be m=
ade in
the comments box of this bug report.

 http://bugzilla.gnome.org/show_bug.cgi?id=3D158917
 GConf | gconf | Ver: 2.8.x

Mark McLoughlin changed:

           What    |Removed                     |Added
-------------------------------------------------------------------------=
---
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From Mark McLoughlin  2005-05-06 11:36 ------=
-
More correct fix is:

-                 cvalue =3D gconf_corba_value_from_gconf_value (value);
+                 if (value !=3D NULL)
+                   {
+                     cvalue =3D gconf_corba_value_from_gconf_value (valu=
e);
+                   }
+                 else
+                   {
+                     cvalue =3D gconf_invalid_corba_value ();
+                   }


Committed on HEAD and gnome-2-10:

2005-05-06  Mark McLoughlin  <mark@skynet.ie>

        Fix for crasher. Based on patch from Josselin Mouette <joss@debia=
n.org>
        in bug #158917

        * gconf/gconfd.c: (gconfd_notify_other_listeners): if the
        value is unset, create an InvalidVal ConfigValue.



Thanks

------- You are receiving this mail because: -------
You are on the CC list for the bug.