Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ext4Pkg: Check VolumeName allocation correctness in Ext4GetVolumeName
Missing check in some cases leads to failed StrCpyS call in Ext4GetVolumeLabelInfo. Also correct condition that checks Inode pointer for being NULL in Ext4AllocateInode Cc: Marvin Häuser <[email protected]> Cc: Pedro Falcato <[email protected]> Cc: Vitaly Cheptsov <[email protected]> Fixes: cfbbae5 ("Ext4Pkg: Add handling of EFI_FILE_SYSTEM_VOLUME_LABEL GetInfo().") Signed-off-by: Savva Mitrofanov <[email protected]> Reviewed-by: Pedro Falcato <[email protected]> Reviewed-by: Marvin Häuser <[email protected]>
- Loading branch information