diff options
| author | DHarper89936 <[email protected]> | 2019-06-26 15:49:21 -0700 |
|---|---|---|
| committer | Adonais Romero González <[email protected]> | 2019-06-26 15:49:21 -0700 |
| commit | 75b2290f2a4ece68739d07135d352cdfec3a9e89 (patch) | |
| tree | d66246dce98c91ee5aefa8abae3461b5faa8fc3b /network/trans/WFPSampler/sys/ClassifyFunctions_BasicPacketModificationCallouts.cpp | |
| parent | 41c29cb92feff490270b4ce31f67d7baddecc457 (diff) | |
Update ClassifyFunctions_BasicPacketModificationCallouts.cpp (#388)63036
fix null pointer deref. pSendParams has moved under pCompletionData and any further use must be done from this struct
Diffstat (limited to 'network/trans/WFPSampler/sys/ClassifyFunctions_BasicPacketModificationCallouts.cpp')
| -rw-r--r-- | network/trans/WFPSampler/sys/ClassifyFunctions_BasicPacketModificationCallouts.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/network/trans/WFPSampler/sys/ClassifyFunctions_BasicPacketModificationCallouts.cpp b/network/trans/WFPSampler/sys/ClassifyFunctions_BasicPacketModificationCallouts.cpp index 563672c6..d6acb876 100644 --- a/network/trans/WFPSampler/sys/ClassifyFunctions_BasicPacketModificationCallouts.cpp +++ b/network/trans/WFPSampler/sys/ClassifyFunctions_BasicPacketModificationCallouts.cpp @@ -4979,8 +4979,8 @@ NTSTATUS PerformBasicPacketModificationAtOutboundTransport(_In_ CLASSIFY_DATA** if(FWPS_IS_METADATA_FIELD_PRESENT(pMetadata, FWPS_METADATA_FIELD_TRANSPORT_CONTROL_DATA)) { - pSendParams->controlData = pMetadata->controlData; - pSendParams->controlDataLength = pMetadata->controlDataLength; + pCompletionData->pSendParams->controlData = pMetadata->controlData; + pCompletionData->pSendParams->controlDataLength = pMetadata->controlDataLength; } pAddressValue = KrnlHlprFwpValueGetFromFwpsIncomingValues(pClassifyValues, |
