Skip to content

Commit

Permalink
classifyFn may be called with NULL layerData.
Browse files Browse the repository at this point in the history
  • Loading branch information
bonsaiviking committed Jun 9, 2021
1 parent ba6f1ef commit 7cd2e33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packetWin7/npf/npf/Loopback.c
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ NPF_NetworkClassifyInbound(

TRACE_ENTER();

if (!NPF_ShouldProcess(inFixedValues, inMetaValues, &bIPv4))
if (pNetBufferList == NULL || !NPF_ShouldProcess(inFixedValues, inMetaValues, &bIPv4))
{
return;
}
Expand Down

0 comments on commit 7cd2e33

Please sign in to comment.