Page MenuHomePhabricator

evas/textblock: fix a memory issue caused by a freed ellipsis item
Needs ReviewPublic

Authored by id213sin on Sep 4 2020, 1:28 AM.

Details

Summary

An ellipsis item must be removed from its line when it is freed.
@fix

Test Plan

N/A

Diff Detail

Repository
rEFL core/efl
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 17296
Build 11560: arc lint + arc unit
id213sin created this revision.Sep 4 2020, 1:28 AM
id213sin requested review of this revision.Sep 4 2020, 1:28 AM
ali.alzyod added inline comments.Sep 4 2020, 9:13 AM
src/lib/evas/canvas/evas_object_textblock.c
4935

this is not needed anymore ?

How can we produce this issue ?

ali.alzyod added inline comments.Sep 6 2020, 9:43 AM
src/lib/evas/canvas/evas_object_textblock.c
4238

why we do not pass _ITEM(c->o->ellip_ti)->ln here ?

6221

why do we pass _ITEM(c->o->ellip_ti)->ln here ?