discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=16e7c57ba4090114580d15407cca4fd05cf3dfb5

commit 16e7c57ba4090114580d15407cca4fd05cf3dfb5
Author: Mike Blumenkrantz <[email protected]>
Date:   Thu Mar 13 10:53:55 2014 -0400

    bugfix: prevent out of bounds access in systray theme setup
    
    CID 1039843
---
 src/modules/systray/e_mod_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/systray/e_mod_main.c b/src/modules/systray/e_mod_main.c
index ce97fe6..24f962b 100644
--- a/src/modules/systray/e_mod_main.c
+++ b/src/modules/systray/e_mod_main.c
@@ -166,7 +166,7 @@ _systray_theme(Evas_Object *o, const char *shelf_style, 
const char *gc_style)
    p = buf + len;
    *p = '/';
    p++;
-   avail = sizeof(buf) - len - 1;
+   avail = sizeof(buf) - len - 2;
 
    if (shelf_style && gc_style)
      {

-- 


Reply via email to