forked from enlightenment/efl
test_disable: Extend button array to fix memory corruption
We are accessing btn[3] in the code so we should make sure the array it big enough for it. CID: 1265613
This commit is contained in:
parent
16fc6785a9
commit
a31628cb2e
|
@ -109,7 +109,7 @@ void
|
|||
test_layout_disable(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
Evas_Object *win, *box, *ly, *bt;
|
||||
Evas_Object *fr, *btn[3], *bx, *lb;
|
||||
Evas_Object *fr, *btn[4], *bx, *lb;
|
||||
char buf[PATH_MAX];
|
||||
|
||||
win = elm_win_util_standard_add("layout", "Layout");
|
||||
|
|
Loading…
Reference in New Issue