jsuya pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=efdd1b166e7d0bdd565b00f8acd257ef0bf8531f
commit efdd1b166e7d0bdd565b00f8acd257ef0bf8531f Author: Wonki Kim <[email protected]> Date: Wed Aug 5 17:03:02 2020 +0900 elm_access: fix a potentional error of null deref Summary: this is a patch to fix a potentional error by null dereferencing. Reviewers: jsuya, kimcinoo, bu5hm4n Reviewed By: jsuya Subscribers: kimcinoo, bu5hm4n, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12092 --- src/lib/elementary/elm_access.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/elementary/elm_access.c b/src/lib/elementary/elm_access.c index 9b33f4de40..75329e51b6 100644 --- a/src/lib/elementary/elm_access.c +++ b/src/lib/elementary/elm_access.c @@ -520,6 +520,7 @@ _access_highlight_next_get(Evas_Object *obj, Elm_Focus_Direction dir) if (ho) { Elm_Access_Info *info = _elm_access_info_get(ho); + EINA_SAFETY_ON_NULL_RETURN_VAL(info, ret); if (type == ELM_ACCESS_ACTION_HIGHLIGHT_NEXT && info->next) target = info->next; else if (type == ELM_ACCESS_ACTION_HIGHLIGHT_PREV && info->prev) --
