From 83eb1aa3c2e15568c89546048d72d7cae071ee42 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Wed, 7 Jan 2015 17:21:46 +0900 Subject: [PATCH] evas map - new aa map has extra overflow with line list - fix it. this fixes a feature added in this version of efl. as above. --- src/lib/evas/common/evas_map_image_internal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/evas/common/evas_map_image_internal.c b/src/lib/evas/common/evas_map_image_internal.c index f3238b2420..d124eedbee 100644 --- a/src/lib/evas/common/evas_map_image_internal.c +++ b/src/lib/evas/common/evas_map_image_internal.c @@ -76,8 +76,8 @@ FUNC_NAME(RGBA_Image *src, RGBA_Image *dst, } // allocate some spans to hold out span list - spans = alloca((yend - ystart + 1) * sizeof(Line)); - memset(spans, 0, (yend - ystart + 1) * sizeof(Line)); + spans = alloca((yend - ystart + 3) * sizeof(Line)); + memset(spans, 0, (yend - ystart + 3) * sizeof(Line)); // calculate the spans list _calc_spans(p, spans, ystart, yend, cx, cy, cw, ch);