Skip to content

Commit

Permalink
Set RequestHandle for NDIS_OID_REQUEST. See nmap/nmap#1194
Browse files Browse the repository at this point in the history
  • Loading branch information
bonsaiviking committed Apr 23, 2018
1 parent ccfddb5 commit b52b0fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packetWin7/npf/npf/Packet.c
Original file line number Diff line number Diff line change
Expand Up @@ -2233,6 +2233,7 @@ NPF_IoControl(
// submit the request
//
pRequest->Request.RequestId = (PVOID) NPF_REQUEST_ID;
pRequest->Request.RequestHandle = Open->AdapterHandle;
// ASSERT(Open->AdapterHandle != NULL);

if (OidData->Oid == OID_GEN_CURRENT_PACKET_FILTER && FunctionCode == BIOCSETOID)
Expand Down

0 comments on commit b52b0fd

Please sign in to comment.