Fix batch parsing bug.

This commit is contained in:
basil00
2019-09-29 07:27:04 +08:00
parent eba2e59e3b
commit 0c773bc08f
2 changed files with 2 additions and 3 deletions
+2 -1
View File
@@ -522,7 +522,8 @@ BOOL WinDivertHelperParsePacket(const VOID *pPacket, UINT packetLen,
}
if (ppNext != NULL)
{
*ppNext = (info.Extended? (PVOID)((UINT8 *)pPacket + packetLen): NULL);
*ppNext = (info.Extended? (PVOID)((UINT8 *)pPacket +
(info.HeaderLength + info.PayloadLength)): NULL);
}
if (pNextLen != NULL)
{
-2
View File
@@ -45,8 +45,6 @@
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<ItemGroup>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="windivert.rc" />
</ItemGroup>