billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=5a12ff7b1f2c112dd2fd1b46bac382a13caf572c

commit 5a12ff7b1f2c112dd2fd1b46bac382a13caf572c
Author: Boris Faure <[email protected]>
Date:   Sat Apr 30 15:53:47 2022 +0200

    termio: use memcpy() is enough here
---
 src/bin/termio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/termio.c b/src/bin/termio.c
index 94828fd..63df4fc 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -4115,7 +4115,7 @@ _smart_cb_drop(void *data,
                   if (*p)
                     {
                        len = strlen(p);
-                       strncpy(buf, p, len);
+                       memcpy(buf, p, len);
                        buf[len] = '\0';
                        if (extn_is_media(buf, len))
                          evas_object_smart_callback_call(obj, "popup,queue", 
buf);

-- 


Reply via email to