discomfitor pushed a commit to branch enlightenment-0.18.

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

commit dfa47b2b7d64eac98f9dcddb4011e91c1cb0cda2
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 3211967..bdc6679 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