summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2014-03-13 10:53:55 -0400
committerMike Blumenkrantz <zmike@samsung.com>2014-03-13 10:53:55 -0400
commit16e7c57ba4090114580d15407cca4fd05cf3dfb5 (patch)
treefed48d634305358a86981dbbb89cbf794ba8762a /src
parentcac879d289d6573c3ab24eca37be1e560af36b2c (diff)
downloadenlightenment-16e7c57ba4090114580d15407cca4fd05cf3dfb5.tar.gz
bugfix: prevent out of bounds access in systray theme setup
CID 1039843
Diffstat (limited to 'src')
-rw-r--r--src/modules/systray/e_mod_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/systray/e_mod_main.c b/src/modules/systray/e_mod_main.c
index ce97fe6c65..24f962bb04 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)
{