Merge pull request #1984 from alligator79/fix-wfp-memory-corruption
Fix memory corruption in WFP driver
This commit is contained in:
commit
702ead2cf6
|
@ -670,6 +670,9 @@ BOOLEAN WFP_UpdateProcess(PROCESS* proc)
|
|||
BOOLEAN LogTraffic = FALSE;
|
||||
BOOLEAN BlockInternet = FALSE;
|
||||
LIST NewNetFwRules, OldNetFwRules;
|
||||
|
||||
List_Init(&NewNetFwRules);
|
||||
List_Init(&OldNetFwRules);
|
||||
|
||||
LogTraffic = Process_GetTraceFlag(proc, L"NetFwTrace") != 0;
|
||||
|
||||
|
@ -1016,4 +1019,4 @@ GetNetwork5TupleIndexesForLayer(
|
|||
*protocolIndex = -1;
|
||||
NT_ASSERT(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue