diff options
author | Hongguang <hgchen@google.com> | 2021-08-04 14:49:17 -0700 |
---|---|---|
committer | Hongguang <hgchen@google.com> | 2021-08-04 15:00:17 -0700 |
commit | 278bb563bc3ba98d115483a16b37ed0b701c2405 (patch) | |
tree | 43024fb1daf1e9435c5abc859c995ff868c37040 /identity/support/src/cppbor_parse.cpp | |
parent | b728aeb3b2303bf549aeb15f26168f7c74629d30 (diff) |
Cast packetSize to uint8_t before using.
packetSize is int8_t on AIDL HAL, but packet size may be longer than
128, which will cause a HAL crash.
Bug: 191825295
Test: atest android.media.tv.tuner.cts
Test: atest VtsHalTvTunerTargetTest
Change-Id: I9ee52d3cacab40e69f5f01dbe51c397fa09bfea0
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions