summaryrefslogtreecommitdiffstats
path: root/ArmVirtPkg/ArmVirtQemuKernel.dsc
diff options
context:
space:
mode:
authorRobinson, Herbie <Herbie.Robinson@stratus.com>2018-09-07 08:07:09 +0800
committerRuiyu Ni <ruiyu.ni@intel.com>2018-10-24 13:30:43 +0800
commitadd1310df55eede2f52f44a021802831c683577d (patch)
treee0b6d8a7caf5a6d37e546b84cdbd2dcd659e7520 /ArmVirtPkg/ArmVirtQemuKernel.dsc
parent8a2794f6f3a42bcc878a30565e1db9ac96fdc7cd (diff)
downloadedk2-add1310df55eede2f52f44a021802831c683577d.tar.gz
FatPkg/EnhancedFatDxe Fix Double Cluster Allocation
This is a fix for a double cluster allocation when the disk is full. The double allocation happens because FatGrowEof calls FatAllocateCluster without immediately marking the each returned cluster as allocated. The fix is to move the FatSetFatEntry call inside the loop. I've also include some improvements to the sanity checks that I added while tracking this down. They are optional. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Herbie Robinson <Herbie.Robinson@stratus.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Diffstat (limited to 'ArmVirtPkg/ArmVirtQemuKernel.dsc')
0 files changed, 0 insertions, 0 deletions