security: fix: use default initialization instead of nanopb init_zero
Nanopb init_zero doesn't cover all fields on oneof entries. On 5.4 COS,
the unknown fields are replaced with 0xAA leading to a crash.
Signed-off-by: Thomas Garnier <email@example.com>
Tested-by: Vaibhav Rustagi <firstname.lastname@example.org>
Reviewed-by: John Davis <email@example.com>
Reviewed-by: Vaibhav Rustagi <firstname.lastname@example.org>
3 files changed