diff --git a/viosock/wsk/provider.c b/viosock/wsk/provider.c index dc32a2d97..c35e704c3 100644 --- a/viosock/wsk/provider.c +++ b/viosock/wsk/provider.c @@ -222,7 +222,7 @@ VioWskGetAddressInfo( goto CompleteIrp; } - VMAddr = ExAllocatePoolWithTag(NonPagedPool, sizeof(SOCKADDR_VM), VIOSOCK_WSK_MEMORY_TAG); + VMAddr = ExAllocatePoolUninitialized(NonPagedPool, sizeof(SOCKADDR_VM), VIOSOCK_WSK_MEMORY_TAG); if (!VMAddr) { Status = STATUS_INSUFFICIENT_RESOURCES; @@ -233,7 +233,7 @@ VioWskGetAddressInfo( VMAddr->svm_family = AF_VSOCK; VMAddr->svm_cid = Cid; VMAddr->svm_port = Port; - AddrInfo = ExAllocatePoolWithTag(PagedPool, sizeof(ADDRINFOEXW), VIOSOCK_WSK_MEMORY_TAG); + AddrInfo = ExAllocatePoolUninitialized(PagedPool, sizeof(ADDRINFOEXW), VIOSOCK_WSK_MEMORY_TAG); if (!AddrInfo) { Status = STATUS_INSUFFICIENT_RESOURCES;