From fa790a1557d3975a1f267e234b1f03238082bb22 Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Fri, 28 May 2010 16:20:31 +0000 Subject: [PATCH] Make sure the data in the list is valid. (Ran into an odd segv here, so added this catch to trap it). SVN revision: 49248 --- src/modules/syscon/e_syscon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/syscon/e_syscon.c b/src/modules/syscon/e_syscon.c index b7800a415..1d0aa17f8 100644 --- a/src/modules/syscon/e_syscon.c +++ b/src/modules/syscon/e_syscon.c @@ -135,7 +135,7 @@ e_syscon_show(E_Zone *zone, const char *defact) E_Action *a; int disabled; - sca = l->data; + if (!(sca = l->data)) continue; if (!sca->action) continue; a = e_action_find(sca->action); if (!a) continue;