ecore_evas_extn: Add safety checks, fixing a crash in elm_test 29/61429/1 accepted/tizen/common/20160310.065054 accepted/tizen/ivi/20160309.004540 accepted/tizen/mobile/20160309.004447 accepted/tizen/tv/20160309.004504 accepted/tizen/wearable/20160309.004522 submit/tizen/20160308.021833
authorJean-Philippe Andre <jp.andre@samsung.com>
Mon, 25 Jan 2016 06:58:16 +0000 (15:58 +0900)
committerWooHyun Jung <wh0705.jung@samsung.com>
Tue, 8 Mar 2016 01:52:37 +0000 (10:52 +0900)
commit10acb02b95200545b9936b3cd8f0b2d10736cc68
tree59441a8ab4f0ca268d8d8e1f9aad9614c3196454
parent890ed8f05395facca26b1adf37f6996f87e020f0
ecore_evas_extn: Add safety checks, fixing a crash in elm_test

See T2835 (my crash was different from the one reported).

The buffer may be initialized after the first render_pre, due to
whatever timing issue. Check in elm_test "Window Socket" and then
open several "Window Plug".

@fix

Change-Id: Id8740001e8c489f1a3b98d81d39427615f610df0
src/modules/ecore_evas/engines/extn/ecore_evas_extn_buf.c