diff options
Diffstat (limited to 'storage/class/classpnp/src/debug.c')
| -rw-r--r-- | storage/class/classpnp/src/debug.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/storage/class/classpnp/src/debug.c b/storage/class/classpnp/src/debug.c index cc288ec6..b811c6d0 100644 --- a/storage/class/classpnp/src/debug.c +++ b/storage/class/classpnp/src/debug.c @@ -165,8 +165,9 @@ Revision History: "ClassDebugPrint: Allocating %x bytes for " "classdebugprint buffer\n", (ULONG)bufferSize); ClasspnpGlobals.Index = (ULONG)-1; - ClasspnpGlobals.Buffer = - ExAllocatePoolWithTag(NonPagedPoolNx, bufferSize, 'bDcS'); + ClasspnpGlobals.Buffer = ExAllocatePoolZero(NonPagedPoolNx, + bufferSize, + 'bDcS'); DbgPrintEx(DPFLTR_CLASSPNP_ID, DPFLTR_ERROR_LEVEL, "ClassDebugPrint: Allocated buffer at %p\n", ClasspnpGlobals.Buffer); |
