Evas filters: Fix blur with small buffers
authorJean-Philippe Andre <jp.andre@samsung.com>
Thu, 12 Dec 2013 06:58:14 +0000 (15:58 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Fri, 7 Feb 2014 08:33:16 +0000 (17:33 +0900)
commit0a450b3ace1459919d0888074993f2369b99ec96
treedecd2b4c7259f9600dc6692fe6acf63242e7d6ce
parent91e20084c1aa88e922e0840ba26022d6b29f1f76
Evas filters: Fix blur with small buffers

If the buffer is smaller than the blur kernel, then artifacts appear
and CRASHES happen because we read/write out of the buffer bounds.

Output buffer must be larger than the kernel diameter.
Input buffer's size is used to reduce the blurring effect on the edges.
src/lib/evas/filters/evas_filter_blur.c