summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWonki Kim <wonki_.kim@samsung.com>2020-08-05 17:03:02 +0900
committerJunsuChoi <jsuya.choi@samsung.com>2020-08-05 17:03:02 +0900
commitefdd1b166e7d0bdd565b00f8acd257ef0bf8531f (patch)
tree86f62fe73131c0989756f5faff56cf782588db29
parent8265c6a98f4720a5b58c068a0495dd1a52d90470 (diff)
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
-rw-r--r--src/lib/elementary/elm_access.c1
1 files changed, 1 insertions, 0 deletions
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)
520 if (ho) 520 if (ho)
521 { 521 {
522 Elm_Access_Info *info = _elm_access_info_get(ho); 522 Elm_Access_Info *info = _elm_access_info_get(ho);
523 EINA_SAFETY_ON_NULL_RETURN_VAL(info, ret);
523 if (type == ELM_ACCESS_ACTION_HIGHLIGHT_NEXT && info->next) 524 if (type == ELM_ACCESS_ACTION_HIGHLIGHT_NEXT && info->next)
524 target = info->next; 525 target = info->next;
525 else if (type == ELM_ACCESS_ACTION_HIGHLIGHT_PREV && info->prev) 526 else if (type == ELM_ACCESS_ACTION_HIGHLIGHT_PREV && info->prev)