evas textblock: fix dereferenced after free issue for ellipsis item 31/128131/1
authorYoungbok Shin <youngb.shin@samsung.com>
Mon, 8 May 2017 01:00:38 +0000 (10:00 +0900)
committerYoungbok Shin <youngb.shin@samsung.com>
Mon, 8 May 2017 01:00:38 +0000 (10:00 +0900)
Change-Id: I31d6fa6afb8cfba015ff2e024cc933b9ecb02081

src/lib/evas/canvas/evas_object_textblock.c

index 66a4f19..e363654 100644 (file)
@@ -5126,7 +5126,7 @@ _layout_par_ellipsis_items(Ctxt *c, double ellip)
         off += it->adv;
      }
    c->o->ellip_prev_it = i;
-   if (it) _layout_ellipsis_item_new(c, it);
+   if (it) ellip_ti = _layout_ellipsis_item_new(c, it);
 
 
    pos = (it && it->type == EVAS_TEXTBLOCK_ITEM_TEXT) ?