diff options
| author | brandyking <[email protected]> | 2022-05-01 09:49:15 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-05-01 09:49:15 -0700 |
| commit | 3af3bfae4572ffb662bfa52cde0f9b4fa98910ad (patch) | |
| tree | 81085e81288d1c62e90a141fd6c04632d6120a40 | |
| parent | 6f1c7c97a337a080f177f489fd50cc1810b60fe7 (diff) | |
bug fix: updating UINT8 to UINT32 to correct wrong type comparison (#709)
| -rw-r--r-- | network/trans/WFPSampler/syslib/HelperFunctions_Headers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/network/trans/WFPSampler/syslib/HelperFunctions_Headers.cpp b/network/trans/WFPSampler/syslib/HelperFunctions_Headers.cpp index e70d9999..3e400890 100644 --- a/network/trans/WFPSampler/syslib/HelperFunctions_Headers.cpp +++ b/network/trans/WFPSampler/syslib/HelperFunctions_Headers.cpp @@ -1555,7 +1555,7 @@ VOID KrnlHlprIPHeaderCalculateV4Checksum(_Inout_ NET_BUFFER_LIST* pNetBufferList pIPv4Header->checksum = 0; - for(UINT8 i = 0; + for(UINT32 i = 0; i < words; i++) { |
