billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=f92fa733b572412ca099dbda040ad06f46de4827

commit f92fa733b572412ca099dbda040ad06f46de4827
Author: Boris Faure <[email protected]>
Date:   Thu Feb 27 23:56:19 2014 +0100

    fix CID 1187639: dereference after null check
---
 src/bin/options_theme.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/options_theme.c b/src/bin/options_theme.c
index 03585d7..e1ce254 100644
--- a/src/bin/options_theme.c
+++ b/src/bin/options_theme.c
@@ -187,7 +187,7 @@ options_theme(Evas_Object *opbox, Evas_Object *term)
         if (t->item)
           {
              themes = eina_list_append(themes, t);
-             if ((config->theme) &&
+             if ((config) && (config->theme) &&
                  (!strcmp(config->theme, t->name)))
                {
                   if (seltimer) ecore_timer_del(seltimer);

-- 


Reply via email to