cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=adbb9ca1e32b424fcaf2753f3139350cc683123d
commit adbb9ca1e32b424fcaf2753f3139350cc683123d Author: Cedric BAIL <[email protected]> Date: Thu Jun 5 22:50:20 2014 +0200 eina: fix possible access to NULL. CID 1039422. --- src/lib/eina/eina_inline_value.x | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/eina/eina_inline_value.x b/src/lib/eina/eina_inline_value.x index 15220c9..9aff401 100644 --- a/src/lib/eina/eina_inline_value.x +++ b/src/lib/eina/eina_inline_value.x @@ -840,7 +840,7 @@ eina_value_array_value_get(const Eina_Value *src, unsigned int position, Eina_Va static inline void * eina_value_list_node_memory_get(const Eina_Value_Type *type, const Eina_List *node) { - if (node == NULL) return NULL; + if (node == NULL || type == NULL) return NULL; if (type->value_size <= sizeof(void*)) return (void *)&(node->data); return node->data; --
