Enlightenment CVS committal

Author  : ravenlock
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/modules/conf_keybindings


Modified Files:
        e_int_config_keybindings.c 


Log Message:
Make sure we are not null before checking strlen

===================================================================
RCS file: 
/cvs/e/e17/apps/e/src/modules/conf_keybindings/e_int_config_keybindings.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- e_int_config_keybindings.c  28 Oct 2007 19:06:48 -0000      1.4
+++ e_int_config_keybindings.c  29 Oct 2007 03:55:18 -0000      1.5
@@ -88,7 +88,7 @@
    cfd = e_config_dialog_new(con, _("Key Binding Settings"), "E", 
                             "_config_keybindings_dialog",
                             "enlightenment/keys", 0, v, NULL);
-   if (strlen(params) > 0)
+   if ((params) && (strlen(params) > 0))
      {
        cfd->cfdata->params = params;
        _add_key_binding_cb(cfd->cfdata, NULL);



-------------------------------------------------------------------------
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

Reply via email to