0 < strlen(items[loop].appid)) {
for (int inner_loop = 0; inner_loop < MAX_WAKEUP_WORDS_NUM; inner_loop++) {
if (0 < strlen(items[loop].wakeup_word[inner_loop])) {
- char comparand[MAX_WAKEUP_WORD_LEN];
+ char comparand[MAX_WAKEUP_WORD_LEN] = {0, };
int comparand_index = 0;
for (int index = 0; index < MAX_WAKEUP_WORD_LEN; index++) {
if (' ' != items[loop].wakeup_word[inner_loop][index]) {
0 < strlen(items[loop].appid)) {
for (int inner_loop = 0; inner_loop < MAX_WAKEUP_WORDS_NUM; inner_loop++) {
if (0 < strlen(items[loop].wakeup_word[inner_loop])) {
- char comparand[MAX_WAKEUP_WORD_LEN];
+ char comparand[MAX_WAKEUP_WORD_LEN] = {0, };
int comparand_index = 0;
for (int index = 0; index < MAX_WAKEUP_WORD_LEN; index++) {
if (' ' != items[loop].wakeup_word[inner_loop][index]) {