evas: Fix crash in E
authorJean-Philippe Andre <jp.andre@samsung.com>
Thu, 10 Aug 2017 02:48:01 +0000 (11:48 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Thu, 10 Aug 2017 02:51:56 +0000 (11:51 +0900)
commit69a3d686939ddb4ff0d0e7af191dc8210855e0bc
treee58ec1fbda73d1a4584f7fb4084c54320f90cca8
parent9fd0ed736dfed7739dbc35024c11ccd093b0b5f5
evas: Fix crash in E

Somehow starting VirtualBox would crash E when trying to upload invalid
data. I believe checking for NULL data here is all we need to do in
order to keep the image data consistent and valid.

I have to admit I'm not 100% sure what is happening here.

Fixes T5868

@fix
src/lib/evas/canvas/evas_image_legacy.c