Merge in a bug fixed in EDK tree.
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 20 Aug 2007 08:00:45 +0000 (08:00 +0000)
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 20 Aug 2007 08:00:45 +0000 (08:00 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3681 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/FtwLite.c

index 38fe11d..81d6f6b 100644 (file)
@@ -743,7 +743,7 @@ InitializeFtwLite (
     }\r
 \r
     if ((FtwLiteDevice->SpareAreaAddress >= BaseAddress) &&\r
     }\r
 \r
     if ((FtwLiteDevice->SpareAreaAddress >= BaseAddress) &&\r
-        (FtwLiteDevice->SpareAreaAddress <= (BaseAddress + FwVolHeader->FvLength))\r
+        (FtwLiteDevice->SpareAreaAddress < (BaseAddress + FwVolHeader->FvLength))\r
         ) {\r
       FtwLiteDevice->FtwBackupFvb = Fvb;\r
       //\r
         ) {\r
       FtwLiteDevice->FtwBackupFvb = Fvb;\r
       //\r