summaryrefslogtreecommitdiff
path: root/libs/binder/IPCThreadState.cpp
diff options
context:
space:
mode:
author Xiao Zhang <zhangxiao19@xiaomi.corp-partner.google.com> 2024-11-29 09:08:16 +0000
committer Xiao Zhang <zhangxiao19@xiaomi.corp-partner.google.com> 2024-12-02 01:38:06 +0000
commit23349ea383c162a1185f94ea64ff66aad15109a7 (patch)
treea4b398cabe1b6e596d586ca799f65303056a20e6 /libs/binder/IPCThreadState.cpp
parentbd28005fead6cea70a6213d37071ee7313f1839f (diff)
fix potential leakage issues
If validating the size of the buffer fails during the flattening process of GraphicBuffer, fd leakage will occur; You can easily reproduce this problem when validating the size of the buffer fails or simply setting the error to non NOERROR. Bug: 381504577 Test: Manual Change-Id: I7e0ba4a889d6888cc5794a0f226f6638e104eb81
Diffstat (limited to 'libs/binder/IPCThreadState.cpp')
0 files changed, 0 insertions, 0 deletions