X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=BaseTools%2FSource%2FC%2FCommon%2FCommonLib.c;h=5c40fdb5fd491ac9eda8356cc9e5a2580b98f978;hp=42dfa821624d4de40eda7b6fe1fdd7ffe5e59156;hb=67938bcc9d9ed7b1867d29e47f3547bdf299f8c6;hpb=6e8cad49a09db38c309b19b930ba568d2953a901 diff --git a/BaseTools/Source/C/Common/CommonLib.c b/BaseTools/Source/C/Common/CommonLib.c index 42dfa82162..5c40fdb5fd 100644 --- a/BaseTools/Source/C/Common/CommonLib.c +++ b/BaseTools/Source/C/Common/CommonLib.c @@ -1236,7 +1236,6 @@ InternalAllocateCopyPool ( VOID *Memory; ASSERT (Buffer != NULL); - ASSERT (AllocationSize <= (MAX_ADDRESS - (UINTN) Buffer + 1)); Memory = malloc (AllocationSize); if (Memory != NULL) {