Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8d2e23bd authored by Myles Watson's avatar Myles Watson
Browse files

PDL: Check subview size for checksums

When IsValid() calculates a checksum, it gets a SubView of the
packet.  Make sure that the SubView is a subset of the packet
before creating it.

Bug: 186612021
Test: atest bluetooth_test_gd_unit
Test: atest bluetooth_packet_parser_test
Change-Id: Iaadeec118134c172b9688859bdc8e10776833f01
parent 76d6783c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment