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

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

packet: Enforce View inheritance and validation

Add was_validated_ flag to Views that can be constructed from bytes.
Check was_validated_ in every generated Get* function.

Test: bluetooth_packet_parser_test --gtest_filter=*Validate*Death*
Change-Id: I1de8d4e5e60bdd7b51562ffd258300e808db4adb
parent 458a0e1f
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