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
Loading
Please register or sign in to comment