diff options
| author | 2023-05-17 14:54:47 +0900 | |
|---|---|---|
| committer | 2023-05-22 09:38:40 -0700 | |
| commit | 06aaf05f00c32f5421ee3c97587055ab45f36d9b (patch) | |
| tree | d8942eb42b942282d58afbc603da93fbe7408554 /libs/androidfw/FileStream.cpp | |
| parent | ecbd3d61dd136c1d4f53509e476c98b800752a7d (diff) | |
Camera: Address an issue that the invalid memory is accessed
If the ImagePlanes is initiailized the HardwareBuffer and is close()'ed
by finalizer then the invalid memory access to the GraphicBufferWrapper
and GraphicBuffer could be happen.
This patch addressed the issue by properly clearing fields after
being destoyed.
Bug: 283038375
Test: Test extensions proxy service with advanced extender
implementation while maintaining a reference counter so that the
ExtensionImage is finalized without invoking close.
Change-Id: Iab49da708daf0099d029cda6873cb2e811377fbc
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions