commit | 8a77a995c961c7c9a3888f4212f7be87d08afae1 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Wed Sep 09 05:16:08 2009 -0700 |
committer | Eric Laurent <elaurent@google.com> | Wed Sep 09 05:16:08 2009 -0700 |
tree | 02f32484af3e6cf8e302c67d1518f7feeb54c0be | |
parent | 0c065d9ef17ad9e045391bab3630a49fb998250c [diff] |
Fix issue 2107584: media server crash when AudioFlinger fails to allocate memory for track control block. AudioFlinger: verify that mCblk is not null before using it in Track and RecordTrack contructors. IAudioFlinger: check result of remote transaction before reading IAudioTrack and IAudioRecord. IAudioTrack and IAudioRecord: check result of remote transaction before reading IMemory.