commit | 2cb8784d033f89a1793cfe9fa0ece555207c2d90 | [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 | 240017ef8fe7f48f052a3328f169b1d718a3c1b7 | |
parent | 4dd8338b8dc75c85f1ea7d198e27c36149a9f4dc [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