cedric pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=21ee4b15880d68154787f6ed44c49fe07ed01d0f

commit 21ee4b15880d68154787f6ed44c49fe07ed01d0f
Author: Cedric BAIL <ced...@osg.samsung.com>
Date:   Sun Oct 4 16:00:54 2015 +0200

    config: fix NULL access on invalid config loading
    
    CID 1308381
---
 src/lib/elm_config.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elm_config.c b/src/lib/elm_config.c
index afb569d..f73cb7c 100644
--- a/src/lib/elm_config.c
+++ b/src/lib/elm_config.c
@@ -1524,7 +1524,7 @@ _config_flush_get(void)
    _elm_recache();
    _elm_clouseau_reload();
    _elm_config_key_binding_hash();
-   _elm_win_access(_elm_config->access_mode);
+   if (_elm_config) _elm_win_access(_elm_config->access_mode);
    ecore_event_add(ELM_EVENT_CONFIG_ALL_CHANGED, NULL, NULL, NULL);
 }
 

-- 


Reply via email to