Datetime: Prevent null pointer reference. 44/167544/2
authorWoochan Lee <wc0917.lee@samsung.com>
Thu, 18 Jan 2018 06:44:32 +0000 (15:44 +0900)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Thu, 18 Jan 2018 08:01:43 +0000 (08:01 +0000)
commit9fa0ee545a9cbee19031326c19e619097ed8a1d1
treec6df78df964992749c69b6812433db9fb858a885
parent1473f0d60dfb6228443f5df661b385834ec7e47a
Datetime: Prevent null pointer reference.

When _elm_datetime_items_get() calling with only time format after datetime creation.
The location has been swapped. so some of sorted_field index address gets a invalid
address. then it makes a crash.

@tizen_fix

Change-Id: I8e073237793d6af46a726be6cd51827f14c15661
src/lib/elementary/efl_ui_clock.c