FYI: fixed SIGSEGV on gconf preferences backend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ciao!

This fixes a SIGSEGV reported by Raif on the gonf preferences backend.

Committed to head with the following changelog.

2006-08-04  Mario Torre  <neugens@xxxxxxxxxxxxxxxx>

	Reported by Raif S. Naffah <raif@xxxxxxxxxxxxxxx>
	* native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
	g_type_init earlier in function to correctly initialize the
	type system used by the backend.


Mario
-- 
Lima Software, SO.PR.IND. s.r.l.
http://www.limasoftware.net/
pgp key: http://subkeys.pgp.net/

Please, support open standards:
http://opendocumentfellowship.org/petition/
http://www.nosoftwarepatents.com/
### Eclipse Workspace Patch 1.0
#P classpath
Index: native/jni/gconf-peer/GConfNativePeer.c
===================================================================
RCS file: /sources/classpath/classpath/native/jni/gconf-peer/GConfNativePeer.c,v
retrieving revision 1.6
diff -u -r1.6 GConfNativePeer.c
--- native/jni/gconf-peer/GConfNativePeer.c	15 Jul 2006 22:59:23 -0000	1.6
+++ native/jni/gconf-peer/GConfNativePeer.c	4 Aug 2006 00:45:56 -0000
@@ -551,8 +551,8 @@
 
 static void init_gconf_client (void)
 {
-  client = gconf_client_get_default ();
   g_type_init ();
+  client = gconf_client_get_default ();
 }
 
 static gboolean set_jlist_class (JNIEnv *env)

[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux