[fidl] Fix decode/validate crash in case of tables of (nested) arrays of
primitives. With the introduction of coding tables for boring types inside FIDL tables to support linearization, array coding tables may have a null element, when the array is in a FIDL table but the element is a boring type. TEST: fx run-host-tests fidl_cpp_unittests Change-Id: I56380c36369e4b501f5b82aa9cfc673c564f82a1
Showing
- sdk/lib/fidl/cpp/fidl_test.test.fidl 6 additions, 0 deletionssdk/lib/fidl/cpp/fidl_test.test.fidl
- sdk/lib/fidl/cpp/roundtrip_test.cc 58 additions, 1 deletionsdk/lib/fidl/cpp/roundtrip_test.cc
- zircon/system/ulib/fidl/include/lib/fidl/walker.h 12 additions, 4 deletionszircon/system/ulib/fidl/include/lib/fidl/walker.h
Loading
Please register or sign in to comment