Adding length checking for RootOfTrust field

Previously, the parsing code would throw an exception and crash if the
root of trust had an incorrect number or type of entries.

Test: Run the app
Change-Id: Ifa8b108652d00b39531cc170a5bb4a9f665c7d18
2 files changed
tree: bb584ae568078643c47725a3800650108f89bd4c
  1. fuzzing/
  2. gdb/
  3. remote_provisioning/
  4. sanitizer-status/
  5. CleanSpec.mk
  6. OWNERS