SIGN IN SIGN UP

Check for missing arrays in Program (#1519)

Summary:
Pull Request resolved: https://github.com/pytorch/executorch/pull/1519

Flatbuffer array fields can be missing, so we need to check for `nullptr` before calling `size()` on them. Discovered by lionhead fuzzing.

Reviewed By: larryliu0820

Differential Revision: D52493423

fbshipit-source-id: 50ed3ebba5cccb580068bd6078cbade91931a3dc
D
Dave Bort committed
d8693854847a1ef87f6a9c9c309f42e9ed656e08
Parent: b4c6afc
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> on 1/3/2024, 9:00:52 PM