diff options
| author | 2017-09-27 15:22:21 -0700 | |
|---|---|---|
| committer | 2017-10-03 15:41:14 -0700 | |
| commit | dbbe33b95336efa74e8bb4ebcf6cba50919aa247 (patch) | |
| tree | 737276cbe7f1a04572eaa58ca290f19bf54d22f1 /opengl/libagl/array.cpp | |
| parent | a932e64d699eee455e044da38f6a4109774222ea (diff) | |
libui: harden GraphicBufferMapper::importBuffer
Add support for validateBufferSize and getTransportSize from IMapper
2.1. Update GraphicBufferMapper::importBuffer to validate buffer
size, and update GraphicBuffer::flatten to use the handle transport
size.
This fixes two issues with GraphicBuffer. Pointers returned by
lock/lockYCbCr can now be accessed without potential OOB. flatten
no longer includes process-local runtime data.
Bug: 62535446
Bug: 62084097
Bug: 32587089
Test: manual
Change-Id: Ice13af26b84f25e43089637e9d67e3ad820e22ed
Diffstat (limited to 'opengl/libagl/array.cpp')
0 files changed, 0 insertions, 0 deletions