projects
/
platform
/
core
/
uifw
/
tts.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix security issue
[platform/core/uifw/tts.git]
/
common
/
tts_config_parser.c
diff --git
a/common/tts_config_parser.c
b/common/tts_config_parser.c
index
06e4836
..
5f40fa9
100644
(file)
--- a/
common/tts_config_parser.c
+++ b/
common/tts_config_parser.c
@@
-529,7
+529,7
@@
int tts_parser_load_config(tts_config_s** config_info)
} while (0 != ret);
/* Set mode */
} while (0 != ret);
/* Set mode */
- if (0 > chmod(TTS_CONFIG, 06
66
)) {
+ if (0 > chmod(TTS_CONFIG, 06
00
)) {
SLOG(LOG_ERROR, tts_tag(), "[ERROR] Fail to change file mode : %d", ret);
}
SLOG(LOG_ERROR, tts_tag(), "[ERROR] Fail to change file mode : %d", ret);
}
@@
-580,7
+580,7
@@
int tts_parser_copy_xml(const char* original, const char* destination)
}
/* Set mode */
}
/* Set mode */
- if (0 > chmod(destination, 06
66
)) {
+ if (0 > chmod(destination, 06
00
)) {
SLOG(LOG_ERROR, tts_tag(), "[ERROR] Fail to change file mode : %d", ret);
}
SLOG(LOG_ERROR, tts_tag(), "[ERROR] Fail to change file mode : %d", ret);
}