diff options
| author | Elaine Houha <[email protected]> | 2024-02-05 10:25:29 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-02-05 10:25:29 -0800 |
| commit | 220545ea6e98af9259b66ea3983b51dbf3b2bf1e (patch) | |
| tree | 4e99ba9e0da4caec420e4f0941df6864589767dd /network/trans/inspect | |
| parent | 4757e838c7703d4a5edc1eed6a80b916dc40461d (diff) | |
Updating the Windows Filtering Platform Samples to compile correctly on VS2022 (#1089)
* ddproxy compiles on VS2022
* inspect compiles on VS2022
* stmEdit compiles on VS2022
* sampler compiles on VS2022
* changes some encodings and updates the stmedit version
* restores the vcxproj
* more vcxproj fixes
* ddproxy inf
* stmedit vcxproj pt2
* stmd sln
* Update exclusions.csv
* all but one flavor compiles on NI EWDK
* found a bug in an assert
* Builds clean for all drivers except WfpSampler on both WDK 17.1.5 and 17.8.2, WFPSampler changes get it to build on WDK 17.1.5 but there are still issues with 17.8.2
---------
Co-authored-by: Elaine Houha <[email protected]>
Co-authored-by: JakobL-MSFT <[email protected]>
Diffstat (limited to 'network/trans/inspect')
| -rw-r--r-- | network/trans/inspect/sys/utils.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/network/trans/inspect/sys/utils.c b/network/trans/inspect/sys/utils.c index f474704f..c1b85ae8 100644 --- a/network/trans/inspect/sys/utils.c +++ b/network/trans/inspect/sys/utils.c @@ -291,8 +291,8 @@ AllocateAndInitializePendedPacket( { TL_INSPECT_PENDED_PACKET* pendedPacket; - pendedPacket = ExAllocatePoolZero( - NonPagedPool, + pendedPacket = ExAllocatePool2( + POOL_FLAG_NON_PAGED, sizeof(TL_INSPECT_PENDED_PACKET), TL_INSPECT_PENDED_PACKET_POOL_TAG ); @@ -344,8 +344,8 @@ AllocateAndInitializePendedPacket( { NT_ASSERT(inMetaValues->controlDataLength > 0); - pendedPacket->controlData = ExAllocatePoolZero( - NonPagedPool, + pendedPacket->controlData = ExAllocatePool2( + POOL_FLAG_NON_PAGED, inMetaValues->controlDataLength, TL_INSPECT_CONTROL_DATA_POOL_TAG ); |
