From 48382d1448a72011fb9fc6279fae35ac35131a0e Mon Sep 17 00:00:00 2001 From: Pierre Schweitzer Date: Sat, 6 Jan 2018 13:54:21 +0100 Subject: [PATCH] [FLTMGR] Properly allocate CCB in CreatePortCCB() CID 1427031 --- drivers/filters/fltmgr/Messaging.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/filters/fltmgr/Messaging.c b/drivers/filters/fltmgr/Messaging.c index 6a40e0d8c18..d30292a5a3e 100644 --- a/drivers/filters/fltmgr/Messaging.c +++ b/drivers/filters/fltmgr/Messaging.c @@ -817,7 +817,7 @@ CreatePortCCB(_In_ PFLT_PORT_OBJECT PortObject) PPORT_CCB PortCCB; /* Allocate a CCB struct to hold the client port object info */ - PortCCB = ExAllocatePoolWithTag(NonPagedPool, sizeof(PPORT_CCB), FM_TAG_CCB); + PortCCB = ExAllocatePoolWithTag(NonPagedPool, sizeof(PORT_CCB), FM_TAG_CCB); if (PortCCB) { /* Initialize the structure */ @@ -828,4 +828,4 @@ CreatePortCCB(_In_ PFLT_PORT_OBJECT PortObject) } return PortCCB; -} \ No newline at end of file +}