]> git.proxmox.com Git - mirror_edk2.git/commit
The code line where judges if offset exceed the FTW work space boundary, in some...
authorlzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 11 May 2012 01:48:45 +0000 (01:48 +0000)
committerlzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 11 May 2012 01:48:45 +0000 (01:48 +0000)
commitfe92f438ac860a09e57a2a6a37c1a1d8b6539321
treebc77d4e1bfee37509e462dd11699ed103b823732
parent5d4f8cf3c9aace8ad3a37670629a88bb7b21a3f7
The code line where judges if offset exceed the FTW work space boundary, in some special situations where there are so many records, the offset may happen to be just equal to FtwWorkSpaceSize. And then FtwHead will be updated to be outside of work space wrongly, and cause the system to hang in this driver.

Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Guo Dong <guo.dong@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13307 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Universal/FaultTolerantWriteDxe/FtwMisc.c