C28751

warning C28751: Banned usage of ExAllocatePool and its variants

This warning indicates that a function is being used that has been banned, and has a more robust and secure replacement.

The kernel memory allocation functions ExAllocatePool and ExAllocatePoolWithQuota do not provide tags to assist in later debugging. There are replacements for these functions that you can use, which make debugging easier.

Replacement

APIDescription

ExAllocatePool

Secure replacement: ExAllocatePoolWithTag

ExAllocatePoolWithQuota

Secure replacement: ExAllocatePoolWithQuotaTag routine

 

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft