commit | 45e9efb9f75f85be6b8b03c130bc5c9e1080f7a6 | [log] [tgz] |
---|---|---|
author | John Grossman <johngro@google.com> | Thu Feb 09 11:28:36 2012 -0800 |
committer | John Grossman <johngro@google.com> | Thu Feb 09 11:31:06 2012 -0800 |
tree | 4d2670e2b2b35cc3fdc76ae2a59ee0d02a6f4058 | |
parent | df49efa896688d6cd1e9d1f193d5f5c65b8974f8 [diff] |
Fix a segfault in AudioFlinger. Check the string returned by a HAL's implementation of get_parameters for NULL before attempting to make use of it. That way, we won't bring down the mediaserver because of a poorly written HAL. Change-Id: I45f0fd3de003151f98acf32c36c42f58d053f3a0