Enlightenment CVS committal Author : devilhorns Project : e17 Module : apps/e
Dir : e17/apps/e/src/modules/conf_keybindings Modified Files: e_int_config_keybindings.c Log Message: Check for params before checking for strlen of params. =================================================================== RCS file: /cvs/e/e17/apps/e/src/modules/conf_keybindings/e_int_config_keybindings.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -3 -r1.9 -r1.10 --- e_int_config_keybindings.c 31 Oct 2007 20:03:21 -0000 1.9 +++ e_int_config_keybindings.c 2 Nov 2007 01:37:16 -0000 1.10 @@ -1093,7 +1093,7 @@ e_widget_ilist_unselect(cfdata->gui.o_action_list); if (cfdata->locals.action) free(cfdata->locals.action); cfdata->locals.action = strdup(""); - if (cfdata->params[0]) + if ((cfdata->params) && (cfdata->params[0])) { int j, g = -1; _find_key_binding_action("exec", NULL, &g, NULL, &j); ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs