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

Ext4Pkg: Fix build on MSVC



Accessing array using index of uint64 type makes MSVC compiler to
include `__allmul` function in NOOPT which is not referenced in IA32.
So we null-terminate the string using ReadSize, which should be equal to
SymlinkSizeTmp after correct reading. Also add missing MultU64x32
in Ext4Read.

Cc: Marvin Häuser <mhaeuser@posteo.de>
Cc: Pedro Falcato <pedro.falcato@gmail.com>
Cc: Vitaly Cheptsov <vit9696@protonmail.com>
Fixes: 7c46116b ("Ext4Pkg: Add ext2/3 support")
Fixes: e81432fb ("Ext4Pkg: Add symbolic links support")
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 1f5c4f7c
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