PDL: Check total field length before parsing
- Add a test for struct parsing in packet/parser/test
- Sum the field bits and check against the total size
- Round up when returning the number of bytes from Size
Fixes: 143118297
Fixes: 144231005
Fixes: 144245424
Fixes: 144354467
Test: bluetooth_packet_parser_test
bluetooth_test_gd
Change-Id: Ib71b7fae2c00ae36326a2dc38bce3c56b96fe29e
Loading
Please register or sign in to comment