commit | f98c943a53019a0afae57dbc4459ce610f48e331 | [log] [tgz] |
---|---|---|
author | Yichi Chen <yichichen@google.com> | Tue Nov 08 20:28:09 2022 +0000 |
committer | Weizhung Ding <weizhungding@google.com> | Thu Dec 22 08:40:05 2022 +0000 |
tree | d2f173c78f7c79b8ca90e7f965a3143c4e756806 | |
parent | d07ee2bceba5315a7cbb08a8f60acaddc894813d [diff] |
vendorgraphicbuffer: apply validation check before conversion Before buffer_handle_t can be converted to private_handle_t safely, we should validate it to avoid wrong operations on the native handle. Bug: 253425086 Test: Boot to home Merged-In: I078354717cf7a5a772c8b6d7cbbbbfd457eec600 Change-Id: I078354717cf7a5a772c8b6d7cbbbbfd457eec600 (cherry picked from commit 982c0990e38963d98b58aac2a5979a2841823b7b)