diff options
author | Eric Laurent <elaurent@google.com> | 2011-08-07 16:32:26 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2011-08-08 08:55:29 -0700 |
commit | 828b9773cc765f45b4f61af70f2184ca85fa82f9 (patch) | |
tree | 3fd6622a05dcd725d6b10bc36f838d2e97518030 /docs/html/sdk/api_diff/10/changes | |
parent | e10bcdb37cad965ea60da3f9d413d7645b3ae75a (diff) |
AudioFlinger: protect input/output stream access
Some methods would not check that the output orinput stream of a thread
was still valid before calling functions on its interface.
This could cause a crash if those methods where called while the output or
input was being closed by another thread.
Make sure that the output or input stream pointer is cleared before closing the
stream.
Always check that the output or input pointer is not null before calling
functions at the stream interface.
Generalize the use of initCheck() method to verify that the output or input
stream is not null.
Change-Id: I9d9ca6b744d011bcf3a7bbacb4a581ac1477bfa5
Diffstat (limited to 'docs/html/sdk/api_diff/10/changes')
0 files changed, 0 insertions, 0 deletions