Skip to content

Commit 40a22f0

Browse files
committed
1 parent e306d00 commit 40a22f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sys/windivert.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -3418,7 +3418,7 @@ static void windivert_get_ipv6_addr(const FWPS_INCOMING_VALUES0 *fixed_vals,
34183418
FWP_VALUE0 value = fixed_vals->incomingValue[idx].value;
34193419
if (value.type != FWP_BYTE_ARRAY16_TYPE)
34203420
{
3421-
RtlZeroMemory(&addr, 16);
3421+
addr[0] = addr[1] = addr[2] = addr[3] = 0;
34223422
return;
34233423
}
34243424
for (i = 16-1; i >= 0; i--)

0 commit comments

Comments
 (0)