diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2017-07-23 19:36:41 +0900 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2017-07-23 19:36:41 +0900 |
commit | a91d0b2ea4fc0dc0136405a70f623dde50d6cc82 (patch) | |
tree | ce4a91e521e7be033b089a24686403fcf4384fa5 | |
parent | 4df92f88d0ebf0fe31c486d2d869eeec81ac41dd (diff) | |
download | efl-a91d0b2ea4fc0dc0136405a70f623dde50d6cc82.tar.gz |
edje_cc out ... check more iui list element ptrs to help coverity
fix CID 1374482 ... and others i hope.
-rw-r--r-- | src/bin/edje/edje_cc_out.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/edje/edje_cc_out.c b/src/bin/edje/edje_cc_out.c index 85210b27d4..b083b25c6c 100644 --- a/src/bin/edje/edje_cc_out.c +++ b/src/bin/edje/edje_cc_out.c @@ -3519,7 +3519,7 @@ _data_image_id_update(Eina_List *images_unused_list) #define PART_DESC_IMAGE_ID_UPDATE \ EINA_LIST_FOREACH(images_unused_list, l3, iui) \ { \ - if (part_desc_image->image.id == iui->old_id) \ + if ((iui) && (part_desc_image->image.id == iui->old_id)) \ { \ part_desc_image->image.id = iui->new_id; \ break; \ @@ -3530,7 +3530,7 @@ _data_image_id_update(Eina_List *images_unused_list) tween_id = part_desc_image->image.tweens[desc_it]; \ EINA_LIST_FOREACH(images_unused_list, l3, iui) \ { \ - if (tween_id->id == iui->old_id) \ + if ((iui) && (tween_id->id == iui->old_id)) \ { \ tween_id->id = iui->new_id; \ break; \ @@ -3541,7 +3541,7 @@ _data_image_id_update(Eina_List *images_unused_list) #define PART_DESC_PROXY_ID_UPDATE \ EINA_LIST_FOREACH(images_unused_list, l3, iui) \ { \ - if (part_desc_mesh_node->mesh_node.texture.id == iui->old_id) \ + if ((iui) && (part_desc_mesh_node->mesh_node.texture.id == iui->old_id)) \ { \ part_desc_mesh_node->mesh_node.texture.id = iui->new_id; \ break; \ @@ -3586,7 +3586,7 @@ _data_image_id_update(Eina_List *images_unused_list) { EINA_LIST_FOREACH(images_unused_list, l3, iui) { - if (entry->id == iui->old_id) + if ((iui) && (entry->id == iui->old_id)) { entry->id = iui->new_id; break; |