projects
/
platform
/
core
/
api
/
system-settings.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f00d9c2
)
replace sprintf with snprintf for secure-coding
00/79300/1
accepted/tizen/common/20160711.170250
accepted/tizen/ivi/20160711.031144
accepted/tizen/mobile/20160711.030734
accepted/tizen/tv/20160711.030646
accepted/tizen/wearable/20160711.030654
submit/tizen/20160711.014205
author
MyoungJune Park
<mj2004.park@samsung.com>
Mon, 11 Jul 2016 01:39:32 +0000
(10:39 +0900)
committer
MyoungJune Park
<mj2004.park@samsung.com>
Mon, 11 Jul 2016 01:40:16 +0000
(10:40 +0900)
Change-Id: If544db984dc696f608c4fc3c0902785b49f78e59
Signed-off-by: MyoungJune Park <mj2004.park@samsung.com>
src/system_setting_platform.c
patch
|
blob
|
history
diff --git
a/src/system_setting_platform.c
b/src/system_setting_platform.c
index
1a4297e
..
135c2b1
100644
(file)
--- a/
src/system_setting_platform.c
+++ b/
src/system_setting_platform.c
@@
-1286,7
+1286,7
@@
int system_setting_set_locale_timezone(system_settings_key_e key, system_setting
vconf_value = (char *)value;
char tz_path[1024];
- s
printf(tz_path
, "/usr/share/zoneinfo/%s", vconf_value);
+ s
nprintf(tz_path, 1024
, "/usr/share/zoneinfo/%s", vconf_value);
int is_load = _is_file_accessible(tz_path);
if (is_load == 0) {