bugfix: prevent out of bounds access in systray theme setup

CID 1039843
This commit is contained in:
Mike Blumenkrantz 2014-03-13 10:53:55 -04:00
parent cac879d289
commit 16e7c57ba4
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{