elm_box: fix a potential null pointer dereferencing in elm_box 37/154437/3
authorWonki Kim <wonki_.kim@samsung.com>
Tue, 10 Oct 2017 07:56:44 +0000 (16:56 +0900)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Wed, 18 Oct 2017 08:38:04 +0000 (08:38 +0000)
commitcc95d22fdaa303085d8079be3e8e990df72b224a
tree19dcfcecf3c81daaf015b1587940eb4df78c662e
parentee5d28a4cc5e3828a8e745a6b2614d6d62cae58b
elm_box: fix a potential null pointer dereferencing in elm_box

Summary:
if 'evas_object_smart_data_get' return null somehow,
logic that dereference the smart data pointer will cause problems.
This patch prevent a potential bug in advance.

Reviewers: jpeg, woohyun, cedric

Differential Revision: https://phab.enlightenment.org/D5290
Change-Id: I3bb685468cc3bdf44bddff1c51988f8ab37e7627
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
src/lib/elm_box.c