projects
/
platform
/
core
/
uifw
/
tts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ddc45f
)
Intialize function pointer to avoid invalid access
17/258617/2
author
Suyeon Hwang
<stom.hwang@samsung.com>
Fri, 21 May 2021 06:15:30 +0000
(15:15 +0900)
committer
Suyeon Hwang
<stom.hwang@samsung.com>
Fri, 21 May 2021 07:24:43 +0000
(16:24 +0900)
Change-Id: I33b539e6735b52bfd42ea7859f1a5c7984150b21
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
server/ttsd_data.cpp
patch
|
blob
|
history
diff --git
a/server/ttsd_data.cpp
b/server/ttsd_data.cpp
index
8e675f7
..
c61cf45
100644
(file)
--- a/
server/ttsd_data.cpp
+++ b/
server/ttsd_data.cpp
@@
-831,7
+831,7
@@
int ttsd_data_foreach_clients(ttsd_data_get_client_cb callback, void* user_data)
g_app_state_mutex.lock();
for (int i = 0; i < vsize; i++) {
- app_data_s app;
+ app_data_s app
= {0, }
;
app.pid = g_app_list[i].pid;
app.uid = g_app_list[i].uid;
app.utt_id_stopped = 0;