GNOME Bugzilla – Bug 323509
gconf_value_decode() broken for schemas
Last modified: 2006-01-03 16:36:46 UTC
gconf_value_decode() doesn't work for schemas.
Created attachment 55766 [details] [review] Proposed patch Patch.
Patch looks good to me, can you commit it to HEAD with a ChangeLog entry ?
I do not have CVS write access, can someone please commit it ?
Commited on HEAD. Should this go into the stable branch as well?
Don't know, but if you backport this into stable branch it's probably a good idea to also backport the fix for gconf_value_encode in http://cvs.gnome.org/viewcvs/gconf/gconf/gconf-internals.c?r1=1.132&r2=1.133 because this function used to always return NULL for schemas !
Oops, this line + if (*end != ',') should have been + if (*s != ',') Since end is always null at this point! Sorry :-(
As said in comment #6, the patch was wrong and makes this function crash for schema...
Thanks 2006-01-03 Mark McLoughlin <mark@skynet.ie> Pointed out by Nicolas Peninguy <npeniguy@gmail.com> in bug #323509 * gconf/gconf-internals.c: (gconf_value_decode): fix crasher with previous fix for decoding schemas