commit | 4fbe95ede28e9de22404fc38645667fd3a401b14 | [log] [tgz] |
---|---|---|
author | John Grossman <johngro@google.com> | Thu Feb 09 11:28:36 2012 -0800 |
committer | John Grossman <johngro@google.com> | Thu Feb 16 13:45:12 2012 -0800 |
tree | e5923cca28af9d85db88ca875ea10981dd94c7b6 | |
parent | 3540a0197f56c4bcd7d7419f4502bfca34257de2 [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: Ic99d7b004520d7d6347842a681c0595e889b68ea Signed-off-by: John Grossman <johngro@google.com>