Summary:
This is a patch to fix a potential error of null dereferencing.
This patch is based on D12087.
Reviewers: Hermet, jsuya
Reviewed By: jsuya
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D12241
Change-Id: I564443644aabf64e055736c201b8df87f7eced9a
{
Evas_Textblock_Rectangle *r;
+ if (!range) break;
+
r = range->data;
*(&(sel->rect)) = *r;
if (_is_anchors_outside_viewport(y, r->y, r->h, vy, tvh) ||