From 46afc57359fc6b0007e4afb02125da3f9e6b02c1 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Mon, 17 Sep 2012 04:41:09 +0000 Subject: [PATCH] check null here even though it SEEMS impossible to prevent jokers from injecting bad configs SVN revision: 76727 --- src/bin/e_gadcon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/e_gadcon.c b/src/bin/e_gadcon.c index 61488e492..571f8d46d 100644 --- a/src/bin/e_gadcon.c +++ b/src/bin/e_gadcon.c @@ -620,7 +620,7 @@ e_gadcon_populate_class(E_Gadcon *gc, const E_Gadcon_Client_Class *cc) e_gadcon_layout_freeze(gc->o_container); EINA_LIST_FOREACH(gc->cf->clients, l, cf_gcc) { - if ((!strcmp(cf_gcc->name, cc->name)) && + if (cf_gcc->name && (!strcmp(cf_gcc->name, cc->name)) && (cf_gcc->id) && (cf_gcc->style)) _e_gadcon_client_populate(gc, cc, cf_gcc); }