summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Kwangkyu Park <kk48.park@samsung.corp-partner.google.com> 2023-05-17 14:54:47 +0900
committer Emilian Peev <epeev@google.com> 2023-05-22 09:38:40 -0700
commit06aaf05f00c32f5421ee3c97587055ab45f36d9b (patch)
treed8942eb42b942282d58afbc603da93fbe7408554 /libs/androidfw/FileStream.cpp
parentecbd3d61dd136c1d4f53509e476c98b800752a7d (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