Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 58766a472932c485d41163b1746fb1d9e7984f07
https://github.com/tianocore/edk2/commit/58766a472932c485d41163b1746fb1d9e7984f07
Author: Oliver Smith-Denny <[email protected]>
Date: 2025-01-21 (Tue, 21 Jan 2025)
Changed paths:
M FatPkg/EnhancedFatDxe/Fat.h
M FatPkg/EnhancedFatDxe/FatFileSystem.h
M FatPkg/EnhancedFatDxe/FileSpace.c
M FatPkg/EnhancedFatDxe/Init.c
M FatPkg/FatPei/FatLiteAccess.c
M FatPkg/FatPei/FatLiteFmt.h
Log Message:
-----------
FatPkg: Validate Reserved FAT Entries on Volume Open
There are two reserved FAT entries in the FAT filesystem that
are expected to have valid contents in them. Today the FAT drivers
do not validate these entries when reading from a device for the
first time. This can cause infinite loops in the FAT driver when
trying to read corrupted disks as reported in
https://github.com/tianocore/edk2/issues/9679.
This PR follows the recommended update requested in that bug to
check the two reserved FAT entries and validate their contents
against the spec defined values in both FatPei and EnhancedFatDxe
when opening a device for the first time.
Signed-off-by: Oliver Smith-Denny <[email protected]>
To unsubscribe from these emails, change your notification settings at
https://github.com/tianocore/edk2/settings/notifications
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits