diff options
author | Wei Jia <wjia@google.com> | 2015-09-17 21:42:12 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-09-17 21:42:12 +0000 |
commit | 7e1d645f6822dc015bd828c12db63359517cc362 (patch) | |
tree | e1d937dc134f2d31a9653d8ef9d6480e02de22ae | |
parent | d3601b1d4e19b3db72592006bd5813dff3685945 (diff) | |
parent | a8f90d57f5b3ad4ef7194501aa20f0a0bd903e8f (diff) | |
download | frameworks_av-7e1d645f6822dc015bd828c12db63359517cc362.zip frameworks_av-7e1d645f6822dc015bd828c12db63359517cc362.tar.gz frameworks_av-7e1d645f6822dc015bd828c12db63359517cc362.tar.bz2 |
am a8f90d57: Merge "IAudioFlinger: fix the missing initialization of variable to ensure no info leak when writing them to Parcel." into lmp-dev
* commit 'a8f90d57f5b3ad4ef7194501aa20f0a0bd903e8f':
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 a6ed199..ac2d1c9 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); |