This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch emile-skip-strlen
in repository efl.

View the commit online.

commit f7a3f962a34d8b06ebcee7e600a7aa4b4b90a0e6
Author: Boris Faure <bill...@gmail.com>
AuthorDate: Sun Aug 20 14:42:35 2023 +0200

    emile: length is known, no need for strlen
---
 src/lib/emile/emile_base64.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/emile/emile_base64.c b/src/lib/emile/emile_base64.c
index 7ff1c130b0..4ddeb11d70 100644
--- a/src/lib/emile/emile_base64.c
+++ b/src/lib/emile/emile_base64.c
@@ -94,7 +94,7 @@ emile_base64_encode_common(const Eina_Binbuf *in, Eina_Bool is_base64url_encode)
 
    dest[k] = '\0';
 
-   return eina_strbuf_manage_new(dest);
+   return eina_strbuf_manage_new_length(dest, k);
 }
 
 static Eina_Binbuf *

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to