Dear All,
I use AllocateZeroPool to allocate memory and use FreePool to free:

UINT8 *buff = (UINT8 *)AllocateZeroPool(len);
FreePool(buff);

But I got this error:
ASSERT MdeModulePkg\Core\Dxe\Mem\Pool.c(425): CR has Bad Signature

What is the problem?
Can I use other method to do this? I use VC tool chain which doesn't support variable length array (UINT8 buff[len]).
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to