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

Skip to content
Commit 79eb99a1 authored by Ravneet's avatar Ravneet
Browse files

Camera: Fix use after free bug in vendor cache

- Rearrange order in setting the global vendor cache to
prevent decStrong from deleting the prior reference to cache
upon globalVendorTagDescCache reassignment so that vendor_cache_ops
in camera metadata can remain valid
- Add same fix to setting global vendor desc to prevent
issues with vendor_tag_ops access

Test: Validity test
Bug: 231526212
Change-Id: I8f7a7f29d05fc25ab1cff42f342446ccb6194d26
parent a32bd3bd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment