Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 700923e3 authored by Mikhail Naganov's avatar Mikhail Naganov
Browse files

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
parent 39c55dcd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment