projects
/
platform
/
core
/
api
/
bluetooth.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
905825f
)
Fix the Svace issue
32/89532/1
accepted/tizen/common/20160926.154748
accepted/tizen/ivi/20160927.083811
accepted/tizen/mobile/20160927.074222
accepted/tizen/tv/20160927.084015
accepted/tizen/wearable/20160927.083841
submit/tizen/20160926.090601
author
Hyuk Lee
<hyuk0512.lee@samsung.com>
Mon, 26 Sep 2016 02:52:00 +0000
(11:52 +0900)
committer
Hyuk Lee
<hyuk0512.lee@samsung.com>
Mon, 26 Sep 2016 02:52:00 +0000
(11:52 +0900)
- WGID : 48912
Change-Id: I17c4715064d6c2e45606ec818cd000534752d6d9
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
test/bt_unit_test.c
patch
|
blob
|
history
diff --git
a/test/bt_unit_test.c
b/test/bt_unit_test.c
index f921f6f031eeab6e538fcfbfdc94471bc81214dd..c67f00286bf8e37f49800a7b3d510004f2f88f05 100644
(file)
--- a/
test/bt_unit_test.c
+++ b/
test/bt_unit_test.c
@@
-3030,7
+3030,7
@@
int test_set_params(int test_id, char *param)
int len = strlen(param);
g_test_param.params[param_index - 1] = g_malloc0(len);
param[len - 1] = '\0';
- str
cpy(g_test_param.params[param_index - 1], param
);
+ str
ncpy(g_test_param.params[param_index - 1], param, len
);
}
if (param_index == g_test_param.param_count) {