diff options
author | Mike Blumenkrantz <zmike@samsung.com> | 2014-03-13 10:53:55 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@samsung.com> | 2014-03-13 10:53:55 -0400 |
commit | 16e7c57ba4090114580d15407cca4fd05cf3dfb5 (patch) | |
tree | fed48d634305358a86981dbbb89cbf794ba8762a /src/modules/systray/e_mod_main.c | |
parent | cac879d289d6573c3ab24eca37be1e560af36b2c (diff) | |
download | enlightenment-16e7c57ba4090114580d15407cca4fd05cf3dfb5.tar.gz |
bugfix: prevent out of bounds access in systray theme setup
CID 1039843
Diffstat (limited to 'src/modules/systray/e_mod_main.c')
-rw-r--r-- | src/modules/systray/e_mod_main.c | 2 |
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) { |