devilhorns pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=8c21a8a0a07867ba74322c84bab2c1448b44d97d
commit 8c21a8a0a07867ba74322c84bab2c1448b44d97d Author: Chris Michael <[email protected]> Date: Thu Jun 26 16:30:45 2014 -0400 ibar: add some safeguards to make sure an icon has an exe_current before trying to get list data from it. NB: Safeguards added to stop crashes from happening during a mouse_wheel (reported from Guy Martin). Signed-off-by: Chris Michael <[email protected]> --- src/modules/ibar/e_mod_main.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/modules/ibar/e_mod_main.c b/src/modules/ibar/e_mod_main.c index c8f2890..65c47cd 100644 --- a/src/modules/ibar/e_mod_main.c +++ b/src/modules/ibar/e_mod_main.c @@ -1691,8 +1691,11 @@ _ibar_cb_icon_wheel(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, if (!sel) { - exe = eina_list_data_get(ic->exe_current); - sel = eina_list_data_get(exe->clients); + if (ic->exe_current) + { + if ((exe = eina_list_data_get(ic->exe_current))) + sel = eina_list_data_get(exe->clients); + } } if (sel) --
