]> git.proxmox.com Git - mirror_edk2.git/commit
Minor update the function interface for three re-allocate pool APIs to check the...
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 12 May 2009 02:29:22 +0000 (02:29 +0000)
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 12 May 2009 02:29:22 +0000 (02:29 +0000)
commit56304569090565f5b8a24c365de38f47c7b0217c
tree4a3cc4ffda09c2b41226cba842774590e4ef4e15
parentd2b4564ba50b095d5a5e00b9c7bebef004967d5e
Minor update the function interface for three re-allocate pool APIs to check the conformance of OldBuffer only when the memory allocation succeeds. In this way the assert condition is covered by CopyMem () API in BaseMemoryLib.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8296 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Library/DxeCoreMemoryAllocationLib/MemoryAllocationLib.c
MdePkg/Include/Library/MemoryAllocationLib.h
MdePkg/Library/PeiMemoryAllocationLib/MemoryAllocationLib.c
MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c