discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=5d6ca39e7d2e680e11aa00db0c1d1baafdf39f84

commit 5d6ca39e7d2e680e11aa00db0c1d1baafdf39f84
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Apr 13 15:54:12 2015 -0400

    check correct number of params passed to internal/desk cfd
    
    fix T2221
---
 src/modules/conf_display/e_int_config_desk.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/conf_display/e_int_config_desk.c 
b/src/modules/conf_display/e_int_config_desk.c
index 8dea372..1678a10 100644
--- a/src/modules/conf_display/e_int_config_desk.c
+++ b/src/modules/conf_display/e_int_config_desk.c
@@ -29,7 +29,7 @@ e_int_config_desk(Evas_Object *parent EINA_UNUSED, const char 
*params)
 
    if (!params) return NULL;
    zone_num = dx = dy = -1;
-   if (sscanf(params, "%i %i %i", &zone_num, &dx, &dy) != 4)
+   if (sscanf(params, "%i %i %i", &zone_num, &dx, &dy) != 3)
      return NULL;
 
    if (e_config_dialog_find("E", "internal/desk")) return NULL;

-- 


Reply via email to