Fix overflow sanitizer in ext4_utils.
The overflow sanitizer was causing the following runtime errors:
runtime error: unsigned integer overflow: 1048576 * 1048576 cannot be
represented in type 'unsigned int'
runtime error: unsigned integer overflow: 0 - 1 cannot be represented
in type 'unsigned int'
Use u64 rather than u32 and explicitly cast aux_info.groups to an int
before passing it to ext4_bg_has_super_block.
Bug: 72226337
Test: Boots without runtime errors.
Change-Id: I12fc37e4f0956ca4367209d8efde3e0ecba15114
2 files changed