048e1d
--- libxklavier-3.1/libxklavier/xklavier_config.c.crash	2006-11-04 22:56:24.000000000 -0500
048e1d
+++ libxklavier-3.1/libxklavier/xklavier_config.c	2006-11-04 22:56:54.000000000 -0500
048e1d
@@ -280,7 +280,7 @@
048e1d
 		return FALSE;
048e1d
 
048e1d
 	nodes = xpath_obj->nodesetval;
048e1d
-	if (nodes != NULL && nodes->nodeTab != NULL) {
048e1d
+	if (nodes != NULL && nodes->nodeTab != NULL && *nodes->nodeTab != NULL) {
048e1d
 		rv = xkl_read_config_item(config, *nodes->nodeTab, pitem);
048e1d
 		if (pnode != NULL) {
048e1d
 			*pnode = *nodes->nodeTab;