[TRACERT] Fix Coverity #1434258 "Out-of-Bounds access" (#1038)

This commit is contained in:
Pako Smith 2018-11-15 16:15:23 +03:00 committed by Hermès BÉLUSCA - MAÏTO
parent 6cc4e9f6f3
commit 40288a7032

View file

@ -256,7 +256,7 @@ PrintHopInfo(_In_ PVOID Buffer)
Status = GetNameInfoW(SockAddr,
Size,
IpAddress,
NI_MAXHOST,
MAX_IPADDRESS,
NULL,
0,
NI_NUMERICHOST);