diff options
author | Henri Chataing <henrichataing@google.com> | 2022-03-22 09:42:14 +0100 |
---|---|---|
committer | Henri Chataing <henrichataing@google.com> | 2022-03-24 09:40:31 +0100 |
commit | ac2311f9cef6910714d9884c12bae55afc07689f (patch) | |
tree | 76fc01af07a5cfa4362a116c4386d0909e7ba220 /framework/java/android/bluetooth/BluetoothAvrcpController.java | |
parent | 85d45e8ee629edffecbec1c8e7e3beab87f5642d (diff) |
Packetgen: Fix potential runtime panics in rust generated code
- Replace unwrapping of Enum, Struct, CustomField, Array field
conversion, raise Error instead
- Fix bounds checks for vector fields with _size_ or _count_
length
- Fix bounds checks for payload fields
BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines
Bug: 225384813
Test: reproduction with minimal PDL source
Change-Id: If5c2c5b7fe01fe602ed93ccf1bfdfc7c86c12770
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothAvrcpController.java')
0 files changed, 0 insertions, 0 deletions