projects
/
platform
/
core
/
uifw
/
libtdm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix stringio truncation warning
[platform/core/uifw/libtdm.git]
/
src
/
tdm_server.c
diff --git
a/src/tdm_server.c
b/src/tdm_server.c
index
3c32a54
..
2343d8d
100644
(file)
--- a/
src/tdm_server.c
+++ b/
src/tdm_server.c
@@
-1402,7
+1402,7
@@
_tdm_server_cb_debug(struct wl_client *client, struct wl_resource *resource, con
char buffer[TDM_DEBUG_REPLY_MSG_LEN];
int copylen = TDM_MIN(size, sizeof(buffer) - 1);
-
strn
cpy(buffer, m, sizeof(buffer));
+
mem
cpy(buffer, m, sizeof(buffer));
buffer[sizeof(buffer) - 1] = '\0';
m += copylen;