mirror of https://github.com/acidanthera/audk.git
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> |
||
---|---|---|
.. | ||
EnhancedFatDxe | ||
FatPei | ||
FatPkg.ci.yaml | ||
FatPkg.dec | ||
FatPkg.dsc | ||
FatPkg.uni | ||
FatPkgExtra.uni |