diff options
author | Wei Jia <wjia@google.com> | 2015-09-21 21:06:53 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-09-21 21:06:53 +0000 |
commit | 4487514203235b7def755fdefde7c9c8d4b89006 (patch) | |
tree | 81ac0b530b1668be9bd31afcb00c224ba02b57c8 | |
parent | 0c84fa7f677d17cb688936235b0d29c8814e90a4 (diff) | |
parent | 9b9612fbea5b73779d128cef45b4c08446bf6341 (diff) | |
download | frameworks_av-4487514203235b7def755fdefde7c9c8d4b89006.zip frameworks_av-4487514203235b7def755fdefde7c9c8d4b89006.tar.gz frameworks_av-4487514203235b7def755fdefde7c9c8d4b89006.tar.bz2 |
am 9b9612fb: am 92504274: am 7e1d645f: am a8f90d57: Merge "IAudioFlinger: fix the missing initialization of variable to ensure no info leak when writing them to Parcel." into lmp-dev
* commit '9b9612fbea5b73779d128cef45b4c08446bf6341':
IAudioFlinger: fix the missing initialization of variable to ensure no info leak when writing them to Parcel.
-rw-r--r-- | media/libmedia/IAudioFlinger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libmedia/IAudioFlinger.cpp b/media/libmedia/IAudioFlinger.cpp index c98a179..a94f9ce 100644 --- a/media/libmedia/IAudioFlinger.cpp +++ b/media/libmedia/IAudioFlinger.cpp @@ -1098,7 +1098,7 @@ status_t BnAudioFlinger::onTransact( String8 address(data.readString8()); audio_output_flags_t flags = (audio_output_flags_t) data.readInt32(); uint32_t latencyMs = 0; - audio_io_handle_t output; + audio_io_handle_t output = AUDIO_IO_HANDLE_NONE; status_t status = openOutput(module, &output, &config, &devices, address, &latencyMs, flags); ALOGV("OPEN_OUTPUT output, %d", output); |