commit | 6f52ff9eb1596fd6fb183fe4b7a277b15e28a7fc | [log] [tgz] |
---|---|---|
author | Francois Gaffie <francois.gaffie@renault.com> | Tue Aug 25 08:53:53 2020 +0200 |
committer | Eric Laurent <elaurent@google.com> | Tue Dec 14 15:02:09 2021 +0000 |
tree | 3708a1c13d4433740e1c7170125207745908843e | |
parent | 9c9bafffe8645be71721f7b3b91a388cf7d2a539 [diff] |
[BUG] audiopolicy: engineconfigurable: prevent illegal map access If any request to get OutputDevice for a given attributes is performed before the cache has been initalized, an illegal access to the vector happens. This CL fixes by returning empty device vector when cache is empty. Test: build & boot configurable engine target & basic audio Signed-off-by: Francois Gaffie <francois.gaffie@renault.com> Change-Id: I1371765401441732319be56a9cae6fbf3c5cc2bf