projects
/
platform
/
core
/
api
/
base-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f14f33a
)
Fix svace error(150735)
30/98030/2
author
Hyunjee Kim
<hj0426.kim@samsung.com>
Wed, 16 Nov 2016 01:45:33 +0000
(10:45 +0900)
committer
hyunjee Kim
<hj0426.kim@samsung.com>
Wed, 16 Nov 2016 02:18:19 +0000
(18:18 -0800)
Change-Id: I99c3802ac766656d0edb94814d84daff4b2d4631
Signed-off-by: Hyunjee Kim <hj0426.kim@samsung.com>
src/utils_i18n_ubidi.c
patch
|
blob
|
history
diff --git
a/src/utils_i18n_ubidi.c
b/src/utils_i18n_ubidi.c
index
9dd4ea8
..
43b9697
100644
(file)
--- a/
src/utils_i18n_ubidi.c
+++ b/
src/utils_i18n_ubidi.c
@@
-271,7
+271,7
@@
int i18n_ubidi_get_text(const i18n_ubidi_h ubidi, char **text)
*text = (char *)malloc(len + 1);
retv_if(*text == NULL, I18N_ERROR_OUT_OF_MEMORY);
- str
cpy(*text, _text
);
+ str
ncpy(*text, _text, len
);
return I18N_ERROR_NONE;
}