Skip to content
Commit 92065dec authored by Savva Mitrofanov's avatar Savva Mitrofanov Committed by Pedro Falcato
Browse files

Ext4Pkg: Correct integer overflow check logic in DiskUtil



Correct multiplication overflow check code and add additional check
for emptiness of number of blocks and block number.

Cc: Marvin Häuser <mhaeuser@posteo.de>
Cc: Pedro Falcato <pedro.falcato@gmail.com>
Cc: Vitaly Cheptsov <vit9696@protonmail.com>
Fixes: d9ceedca ("Ext4Pkg: Add Ext4Dxe driver.")
Signed-off-by: default avatarSavva Mitrofanov <savvamtr@gmail.com>
Reviewed-by: default avatarMarvin Häuser <mhaeuser@posteo.de>
Reviewed-by: default avatarPedro Falcato <pedro.falcato@gmail.com>
parent 127af299
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment