summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSangchul Lee <sc11.lee@samsung.com>2020-07-09 17:09:14 +0900
committerSangchul Lee <sc11.lee@samsung.com>2020-07-09 17:34:53 +0900
commit03b339411a0dcec99091e7ad772544b2732e1e38 (patch)
treef3be691ad1c6c314714093b60a578eb179872e37
parentc48d8ac46662c7eb4a24813da5302a5f4112e6da (diff)
downloadaudio-hal-sc7727-accepted/tizen_6.0_unified_hotfix.tar.gz
audio-hal-sc7727-accepted/tizen_6.0_unified_hotfix.tar.bz2
audio-hal-sc7727-accepted/tizen_6.0_unified_hotfix.zip
There was a call related case dereferencing this value without initializing it in __reset_voice_devices_info(). [Version] 0.1.32 [Issue Type] Improvement Change-Id: I1c6ea3448d072501985ec6c8287efc316bc62cbf Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
-rw-r--r--packaging/audio-hal-sc7727.spec2
-rw-r--r--tizen-audio-routing.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/packaging/audio-hal-sc7727.spec b/packaging/audio-hal-sc7727.spec
index a575d74..7a84689 100644
--- a/packaging/audio-hal-sc7727.spec
+++ b/packaging/audio-hal-sc7727.spec
@@ -1,6 +1,6 @@
Name: audio-hal-sc7727
Summary: TIZEN Audio HAL for SC7727
-Version: 0.1.31
+Version: 0.1.32
Release: 0
Group: System/Libraries
License: Apache-2.0
diff --git a/tizen-audio-routing.c b/tizen-audio-routing.c
index a9e8e47..54ebdbf 100644
--- a/tizen-audio-routing.c
+++ b/tizen-audio-routing.c
@@ -375,6 +375,8 @@ audio_return_t _audio_routing_init(audio_hal_t *ah)
ah->device.active_out = 0x0;
ah->device.mode = VERB_NORMAL;
ah->device.is_radio_on = 0;
+ ah->device.init_call_devices = NULL;
+ ah->device.num_of_call_devices = 0;
if ((audio_ret = _ucm_init(ah)))
AUDIO_LOG_ERROR("failed to _ucm_init(), ret(0x%x)", audio_ret);