forked from enlightenment/enlightenment
bugfix: prevent out of bounds access in systray theme setup
CID 1039843
This commit is contained in:
parent
cac879d289
commit
16e7c57ba4
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue