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:
d69778a
)
Fix SVACE issue
author
sooyeon.kim
<sooyeon.kim@samsung.com>
Thu, 4 May 2017 08:50:47 +0000
(17:50 +0900)
committer
sooyeon.kim
<sooyeon.kim@samsung.com>
Thu, 4 May 2017 08:52:56 +0000
(17:52 +0900)
Change-Id: Ib6b4bb9727db6fe87db8f5010fe27320fc429f68
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
common/tts_config_mgr.c
patch
|
blob
|
history
diff --git
a/common/tts_config_mgr.c
b/common/tts_config_mgr.c
index
fd09c2d
..
da566c7
100644
(file)
--- a/
common/tts_config_mgr.c
+++ b/
common/tts_config_mgr.c
@@
-2080,6
+2080,11
@@
int tts_config_mgr_get_max_text_size(unsigned int* size)
break;
}
+ if (NULL == engine_info) {
+ SLOG(LOG_ERROR, tts_tag(), "engine info is NULL");
+ return TTS_CONFIG_ERROR_OPERATION_FAILED;
+ }
+
*size = engine_info->text_size;
SLOG(LOG_DEBUG, tts_tag(), "[DEBUG] Max text size is %d.", *size);