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:
f514b7d
)
Fix issue detected by static analysis tool
62/125662/2
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, 18 Apr 2017 10:04:49 +0000
(
03:04
-0700)
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
7193560
..
6e50198
100755
(executable)
--- a/
src/w-input-stt-voice.cpp
+++ b/
src/w-input-stt-voice.cpp
@@
-954,6
+954,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(""));