This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch reproducible-widget-previews
in repository efl.
View the commit online.
commit b4706b035d448543b1506b2bfd3882607d725b5a
Author: Carsten Haitzler <[email protected]>
AuthorDate: Sun May 3 11:30:27 2026 +0100
evas image - handle invalid stretch info in 9.png 9 patch files
don't sigfpe at least
---
src/lib/evas/canvas/evas_object_image.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/lib/evas/canvas/evas_object_image.c b/src/lib/evas/canvas/evas_object_image.c
index 84e08fcce1..cfe2adb44d 100644
--- a/src/lib/evas/canvas/evas_object_image.c
+++ b/src/lib/evas/canvas/evas_object_image.c
@@ -500,6 +500,7 @@ _stretch_region_load(Evas_Object_Protected_Data *obj, Evas_Image_Data *o)
stretchable += o->cur->stretch.horizontal.region[i] & 0x7F;
}
+ if (stretchable < 1) stretchable = 1;
EINA_COW_IMAGE_STATE_WRITE_BEGIN(o, state_write)
{
state_write->stretch.horizontal.stretchable = stretchable;
@@ -516,6 +517,7 @@ _stretch_region_load(Evas_Object_Protected_Data *obj, Evas_Image_Data *o)
stretchable += o->cur->stretch.vertical.region[i] & 0x7F;
}
+ if (stretchable < 1) stretchable = 1;
EINA_COW_IMAGE_STATE_WRITE_BEGIN(o, state_write)
{
state_write->stretch.vertical.stretchable = stretchable;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.