Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ext4Pkg: Fix division by zero by adding check for s_inodes_per_group
Superblock s_inodes_per_group field can't be zero, it leads to division by zero in BlockGroup routine Ext4ReadInode Cc: Marvin Häuser <[email protected]> Cc: Pedro Falcato <[email protected]> Cc: Vitaly Cheptsov <[email protected]> Fixes: d9ceedc ("Ext4Pkg: Add Ext4Dxe driver.") Signed-off-by: Savva Mitrofanov <[email protected]> Reviewed-by: Pedro Falcato <[email protected]> Reviewed-by: Marvin Häuser <[email protected]>
- Loading branch information