elm_box: fix a potential null pointer dereferencing in elm_box 39/154439/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:01 +0000 (08:38 +0000)
commit5ab68a43249aa8a11e7a0e4d584b88d492a7281b
treec54e04f326191efd3538b421183dadb776df4cdb
parentc5b415da3acbc89fc06bdb4c2bce98a1f19570c5
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