Merge pull request #1984 from alligator79/fix-wfp-memory-corruption

Fix memory corruption in WFP driver
This commit is contained in:
DavidXanatos 2022-06-24 07:37:09 +02:00 committed by GitHub
commit 702ead2cf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -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);
}
}
}