projects
/
platform
/
core
/
system
/
libdbuspolicy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
542e487
)
libdbuspolicy:svace
44/62644/1
accepted/tizen/ivi/20160318.114052
accepted/tizen/mobile/20160318.114023
accepted/tizen/tv/20160318.114042
accepted/tizen/wearable/20160318.114037
submit/tizen/20160318.082301
author
sanghyeok.oh
<sanghyeok.oh@samsung.com>
Thu, 17 Mar 2016 08:03:49 +0000
(17:03 +0900)
committer
sanghyeok.oh
<sanghyeok.oh@samsung.com>
Thu, 17 Mar 2016 08:04:05 +0000
(17:04 +0900)
Change-Id: I443ae46a8f1e8e3de55982576a58be1f67410a78
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
src/libdbuspolicy1.c
patch
|
blob
|
history
diff --git
a/src/libdbuspolicy1.c
b/src/libdbuspolicy1.c
index
31e9548
..
a406da7
100644
(file)
--- a/
src/libdbuspolicy1.c
+++ b/
src/libdbuspolicy1.c
@@
-48,7
+48,7
@@
for(\
i=0;\
l = strlen(s);\
name = malloc(sizeof(char*)*(l+1));\
-str
cpy(os, s
);\
+str
ncpy(os, s, sizeof(char*)*(l+1)-1
);\
});\
i < l;\
i++)