Evas Textblock: Fix NULL dereferencing issue 67/54667/1
authorYoungbok Shin <youngb.shin@samsung.com>
Sun, 13 Dec 2015 15:13:13 +0000 (17:13 +0200)
committerYoungbok Shin <youngb.shin@samsung.com>
Thu, 17 Dec 2015 05:38:14 +0000 (14:38 +0900)
commit43087467c1ff51222974ae361625cd396fb5790d
treeface7b8de5a50791d9a2d30702c05031130bcacc
parenta81fd0f2f57ae6b71703a9a76922f9ff13fdb9ab
Evas Textblock: Fix NULL dereferencing issue

Summary:
Even if the given two cursor is NULL, it shouldn't be crashed.
@fix

Test Plan:
Test case included in Evas test suite.
Run "make check".

Reviewers: herdsman, tasn

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D3422

Change-Id: Iee812338bb0b007c16ebeea0e93ce86c3f0e67f4
src/lib/evas/canvas/evas_object_textblock.c
src/tests/evas/evas_test_textblock.c