commit | 700923e3bdc9d83f9cde1c49d4271a435276e7a9 | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Tue Jul 18 18:03:10 2017 -0700 |
committer | Mikhail Naganov <mnaganov@google.com> | Wed Jul 19 08:36:38 2017 -0700 |
tree | cebc454fb7ec62b637862a9ced7f6fed5424bb87 | |
parent | 39c55dcd475c1e960fdc14deca2cc202a147270b [diff] |
volume listener: check for correct effect descriptor when releasing It is possible that the effect descriptor in the listener context is NULL. Attempting to access its fields would result in a SIGSEGV. Add a check to avoid crashing. Bug: 63780779 Test: HAL should not be crashing in vol_prc_lib_release Change-Id: I241890840acab56e0c706ffca542fa2b1ffef02a