Summary:
Coverity reports EFL_UI_GRID_ITEM_DATA_GET can return NULL (checked
273 out of 281 times). As such, we should verify that 'id' is not NULL
here before trying to dereference it.
Fixes Coverity CID1397000
@fix
Depends on D8318
Reviewers: raster, cedric, q66, zmike, bu5hm4n, stefan
Reviewed By: cedric
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8319
EINA_LIST_FOREACH(pd->items, l, item)
{
EFL_UI_GRID_ITEM_DATA_GET(item, id);
+ if (!id) continue;
ipos.x = id->geo.x - pan.x;
ipos.y = id->geo.y - pan.y;