evas/scale_sample: call alloca for the scanline buffer after clamping width
authorMike Blumenkrantz <zmike@samsung.com>
Mon, 13 May 2019 15:44:27 +0000 (11:44 -0400)
committerJunsuChoi <jsuya.choi@samsung.com>
Thu, 30 May 2019 08:17:50 +0000 (17:17 +0900)
commitef856ba9a9958c79d9b40e6331df88f438275796
tree325f3d467c2a655d443babd1ebce262b46e6c0c5
parent315d025f24443102bd7f24704640ef7f73ff7cf2
evas/scale_sample: call alloca for the scanline buffer after clamping width

Summary:
this is already a risky call for larger scanlines, so use the clamped value
to further reduce the chance of blowing out the stack

Depends on D8839

Reviewers: cedric, segfaultxavi

Reviewed By: segfaultxavi

Subscribers: segfaultxavi, #reviewers, #committers

Tags: #efl_rendering

Differential Revision: https://phab.enlightenment.org/D8840
src/lib/evas/common/evas_scale_sample.c