emile_image: fix possible segmentation fault in AGRY88
authorSungtaek Hong <sth253.hong@samsung.com>
Tue, 6 Dec 2016 13:28:35 +0000 (22:28 +0900)
committerWonki Kim <wonki_.kim@samsung.com>
Mon, 2 Jan 2017 07:23:58 +0000 (16:23 +0900)
commitf04546a166c0b37eef3bda664193dd982bb855e1
tree3de8aa2963d1d0eb13416d893bc949096f25f44a
parent914d7c03efb7be19d7b3b81ce452a77fa959a19d
emile_image: fix possible segmentation fault in AGRY88

 - ptrag is set NULL and is allocated only when prop is rotated.
   but *ptrag = 0xFF00 | ptr[0]; without checking rotation.

Change-Id: Iba00edc526588c074ad9629a808df03c512642c7
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
src/lib/emile/emile_image.c