Table of contents
TOC
Collapse the table of content
Expand the table of content

C28751

Last Updated: 11/22/2016

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

© 2017 Microsoft