This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch v-1.26.0
in repository efl.
View the commit online.
commit 9c515a6157d889953340b7581ec8303948018ebd
Author: Carsten Haitzler <ras...@rasterman.com>
AuthorDate: Wed May 18 12:12:30 2022 +0100
emile - handle possible invalid compress type more gracefully
check length return is < 0 and handle that.
@fix
---
src/lib/emile/emile_compress.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/lib/emile/emile_compress.c b/src/lib/emile/emile_compress.c
index b755717454..7c5af3f388 100644
--- a/src/lib/emile/emile_compress.c
+++ b/src/lib/emile/emile_compress.c
@@ -44,6 +44,7 @@ emile_compress(const Eina_Binbuf *data,
Eina_Bool ok = EINA_FALSE;
length = _emile_compress_buffer_size(data, t);
+ if (length < 0) return NULL;
compact = malloc(length);
if (!compact)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.