Ensure flag.val is non zero size before it is parsed

Parsing a zero sized flag.val causes a rust panic.

Bug: 336874274
Change-Id: Ifae069e7c78cf2fcc59681e95d9b774ec44ff421
3 files changed