projects
/
platform
/
core
/
uifw
/
inputdelegator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5428dd8
)
Fix issue detected by static analysis tool
56/140556/1
author
sungwook79.park
<sungwook79.park@samsung.com>
Tue, 18 Apr 2017 08:43:32 +0000
(17:43 +0900)
committer
Jihoon Kim
<jihoon48.kim@samsung.com>
Tue, 25 Jul 2017 10:05:49 +0000
(19:05 +0900)
Change-Id: I932e74780c9e92b0ca4ee95ec194aa35401aa01c
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
src/w-input-stt-voice.cpp
patch
|
blob
|
history
diff --git
a/src/w-input-stt-voice.cpp
b/src/w-input-stt-voice.cpp
index
9687541
..
17524fa
100755
(executable)
--- a/
src/w-input-stt-voice.cpp
+++ b/
src/w-input-stt-voice.cpp
@@
-952,6
+952,7
@@
char *__get_genlist_item_label(void *data, Evas_Object *obj, const char *part)
strncpy(text, p+1, strlen(s)-(p-s)-2);
} else {
strncpy(text, s, strlen(s));
+ text[strlen(s)] = '\0';
}
} else {
strncpy(text, "", strlen(""));