This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository efl.
View the commit online.
commit e299b01e3c7af2c3aa3ffc5989bad1427ab0b232
Author: Cedric BAIL <[email protected]>
AuthorDate: Mon Nov 9 01:09:13 2026 -0600
ecore: Container_Model gives no value to a row that has no index
A composite slice answered after one of its rows left gives that row at
no index (0xFFFFFFFF). Setting a property on it grew the value array of
the property one entry at a time up to that index: billions of pushes,
and an endless loop once memory ran out. It is refused instead.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
src/lib/ecore/efl_container_model.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/lib/ecore/efl_container_model.c b/src/lib/ecore/efl_container_model.c
index b8f40eedc2..6e5843df9d 100644
--- a/src/lib/ecore/efl_container_model.c
+++ b/src/lib/ecore/efl_container_model.c
@@ -233,6 +233,9 @@ _efl_container_model_efl_model_property_set(Eo *obj,
return efl_loop_future_rejected(obj, EFL_MODEL_ERROR_INCORRECT_VALUE);
index = efl_composite_model_index_get(obj);
+ // A row with no index left while a slice held it: the values would grow to reach it
+ if (index == 0xFFFFFFFF)
+ return efl_loop_future_rejected(obj, EFL_MODEL_ERROR_INCORRECT_VALUE);
// Try converting the type before touching any data inside the Model
if (eina_value_type_get(value) != cpd->type)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.