projects
/
platform
/
core
/
uifw
/
vc-webview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
120c545
)
Fix stack buffer overflow issue
61/181261/2
accepted/tizen_5.0_unified
accepted/tizen_5.5_unified
accepted/tizen_5.5_unified_mobile_hotfix
accepted/tizen_5.5_unified_wearable_hotfix
accepted/tizen_6.0_unified
accepted/tizen_6.0_unified_hotfix
tizen_5.0
tizen_5.5
tizen_5.5_mobile_hotfix
tizen_5.5_tv
tizen_5.5_wearable_hotfix
tizen_6.0
tizen_6.0_hotfix
accepted/tizen/5.0/unified/20181102.023628
accepted/tizen/5.5/unified/20191031.020823
accepted/tizen/5.5/unified/mobile/hotfix/20201027.080412
accepted/tizen/5.5/unified/wearable/hotfix/20201027.111356
accepted/tizen/6.0/unified/20201030.104749
accepted/tizen/6.0/unified/hotfix/20201103.000546
accepted/tizen/unified/20180703.163726
submit/tizen/20180703.095812
submit/tizen_5.0/20181101.000005
submit/tizen_5.5/20191031.000005
submit/tizen_5.5_mobile_hotfix/20201026.185105
submit/tizen_5.5_wearable_hotfix/20201026.184305
submit/tizen_6.0/20201029.205501
submit/tizen_6.0_hotfix/20201102.192901
submit/tizen_6.0_hotfix/20201103.115101
tizen_5.5.m2_release
tizen_6.0.m2_release
author
Wonnam Jang
<wn.jang@samsung.com>
Mon, 11 Jun 2018 10:03:46 +0000
(19:03 +0900)
committer
Wonnam Jang
<wn.jang@samsung.com>
Thu, 14 Jun 2018 02:11:26 +0000
(11:11 +0900)
Change-Id: Ia5fa5cdc098878e5668cfde542732283a38f5bd9
Signed-off-by: Wonnam Jang <wn.jang@samsung.com>
src/voice_control_webview.cpp
patch
|
blob
|
history
diff --git
a/src/voice_control_webview.cpp
b/src/voice_control_webview.cpp
index
89df7a8
..
ee37842
100755
(executable)
--- a/
src/voice_control_webview.cpp
+++ b/
src/voice_control_webview.cpp
@@
-347,13
+347,15
@@
VCWebView::~VCWebView()
int VCWebView::vc_is_supported_web_vt(bool *vt_automode) {
int ret = -1;
- ret = vconf_get_bool(VC_VOICE_TOUCH_AUTOMODE, (int*)vt_automode);
+ int value = 0;
+ ret = vconf_get_bool(VC_VOICE_TOUCH_AUTOMODE, &value);
if (0 != ret) {
LOGE("[ERROR] Fail to get vconfkey");
return VC_ERROR_OPERATION_FAILED;
}
+ *vt_automode = value ? true : false;
return ret;
}