audk/FatPkg/FatPei
Oliver Smith-Denny 58766a4729 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 <osde@microsoft.com>
2025-01-21 18:40:11 +00:00
..
Eltorito.c FatPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
FatLiteAccess.c FatPkg: Validate Reserved FAT Entries on Volume Open 2025-01-21 18:40:11 +00:00
FatLiteApi.c FatPkg: Fix potentially uninitialized variable 2024-10-25 18:48:06 +00:00
FatLiteApi.h FatPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
FatLiteFmt.h FatPkg: Validate Reserved FAT Entries on Volume Open 2025-01-21 18:40:11 +00:00
FatLiteLib.c FatPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
FatLitePeim.h FatPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
FatPei.inf
FatPei.uni
FatPeiExtra.uni
Gpt.c FatPkg/FatPei: Simplify the GPT Header Check 2024-11-13 23:26:12 +00:00
Mbr.c FatPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Part.c FatPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00