Commit 23349ea
Xiao Zhang
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: I7e0ba4a889d6888cc5794a0f226f6638e104eb811 parent bd28005 commit 23349ea
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
596 | 596 | | |
597 | 597 | | |
598 | 598 | | |
| 599 | + | |
| 600 | + | |
599 | 601 | | |
600 | 602 | | |
601 | 603 | | |
| |||
0 commit comments