Ext4Pkg: Check that source file is directory in Ext4OpenInternal
This check already present in the while loop below, but absent for cases when input file is nameless, so to handle assertion in Ext4ReadFile we need to add it at the top of function 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:Savva Mitrofanov <savvamtr@gmail.com> Reviewed-by:
Pedro Falcato <pedro.falcato@gmail.com> Reviewed-by:
Marvin Häuser <mhaeuser@posteo.de>
Loading
Please register or sign in to comment